Displaying 8 results from an estimated 8 matches for "polymap".
2003 Dec 07
2
par(las = 1) not possible in polymap(), library(splancs)?
Dear all,
I want my PhD thesis which I hand in tomorrow to look even nicer:
Does polymap in the splancs library not allow horizontal plotting of
y-labels? I have tried
polymap(studyarea, xlab = "x (m)", ylab = "y (m)", las = 1)
but it doesn't change the labels?
Mayby some function in library(spatstat) support las?
Thanks!
Sincerely,
Tord
---------------...
2011 Feb 21
2
(no subject)
...sp=1)
Error in plot.xy(xy, type, ...) : invalid plot type '1'
> plot(u[h],v[h],"l",asp=1)
> points(u,v)
Error in plot.xy(xy.coords(x, y), type = type, ...) :
plot.new has not been called yet
> pts=as.points(u,v)
> pointmap(pts)
> hullpoly=as.points(u[h],v[h])
> polymap(hullpolly,add=TRUE)
Error in xy.coords(x, y) : object 'hullpolly' not found
> help(polymap)
> help(plot.net)
No documentation for 'plot.net' in specified packages and libraries:
you could try '??plot.net'
> help(plot.new)
> plot(u[h],v[h],"l",asp=1)
>...
2011 Feb 21
2
(no subject)
...sp=1)
Error in plot.xy(xy, type, ...) : invalid plot type '1'
> plot(u[h],v[h],"l",asp=1)
> points(u,v)
Error in plot.xy(xy.coords(x, y), type = type, ...) :
plot.new has not been called yet
> pts=as.points(u,v)
> pointmap(pts)
> hullpoly=as.points(u[h],v[h])
> polymap(hullpolly,add=TRUE)
Error in xy.coords(x, y) : object 'hullpolly' not found
> help(polymap)
> help(plot.net)
No documentation for 'plot.net' in specified packages and libraries:
you could try '??plot.net'
> help(plot.new)
> plot(u[h],v[h],"l",asp=1)
>...
2012 Aug 13
1
Fine Tuning Country Map
...Names".
## E.g.:
## spdf <- getCountries(c("ARG","BOL","CHL"))
## plot(spdf) # should draw a map with Brasil, Argentina and Chile on it.
getCountries <- function (fileNames, level = 0, ...) {
polygon <- sapply(fileNames, loadChangePrefix, level)
polyMap <- do.call("rbind", polygon)
polyMap
}
spdf <- getCountries(c("ITA","CHE","FRA", "DEU","BEL", "LUX"))
AP <- c("SLS","SLS", "NWS", "NSLS", "NSLS", "NWS")...
2013 Nov 27
0
GADM Data Download
...Names".
## E.g.:
## spdf <- getCountries(c("ARG","BOL","CHL"))
## plot(spdf) # should draw a map with Brasil, Argentina and Chile on it.
getCountries <- function (fileNames, level = 0, ...) {
polygon <- sapply(fileNames, loadChangePrefix, level)
polyMap <- do.call("rbind", polygon)
polyMap
}
################################################################
################################################################
################################################################
##############################################...
2004 Jun 11
1
space-time k function problem
...e table then run 'stkhat' function in Splancs,
but it generates only time k function. I noticed that it has only one ks value. ...
Can anybody help me?.
thanks in advance.
countiespt <- read.table('d:/dissertation/dailynew/jun10/countiespt_ok.txt', sep=",")
polymap(countiespt)
manufacpt <- read.table('d:/dissertation/dailynew/jun10/manufacpt.txt', sep=",")
names(manufacpt)<-c("x", "y")
manufac23<-read.table('d:/dissertation/dailynew/jun10/manufac23.txt', sep=",")
names(manufac23...
2005 Sep 16
1
Question:manipulating spatial data using combination of Maptools and Splancs
Hi,
I have a problem that concerns combination of the package Maptools and
Splancs
I have 2 shapefiles that i want to manipulate (one of type point and one
polygon).I import them in R using Maptools but then i can't estimate a
quartic Kernel using Splancs. The package doesn't recognize the shapes
(invalid points and poly argument).I don't know if this is an easy task but
i have
2001 Jun 02
2
inout() in splancs working properly?
...ints on the
polygon-line often, but not always, are outside of the polygon-area.
library(splancs)
# dataset with polygon (convex hull)
ds1 <- as.points(rnorm(10),rnorm(10))
ds1.poly <- ds1[chull(ds1),]
# plot area within convex hull
plot(ds1, type="n")
polymap(ds1.poly, border="lightblue", col="lightblue", lwd=1)
# Next dataset in and out of first one
ds2 <- as.points(rnorm(100),rnorm(100))
points(ds2[inout(ds2,ds1.poly),], col="green", pch=20)
points(ds2[!inout(ds2,ds1.poly),], col="orange",...