Displaying 1 result from an estimated 1 matches for "shapepoly".
2003 Dec 01
1
Re: using shapefile as owin
...e a ppp.object. I am using the latest release of Raqua on G4.
My process looks like this:
#begin code
> library(maptools)
> Shapefile<-read.shape("county.shp", dbf.data=TRUE)
Shapefile Type: Polygon # of Shapes: 4
> plot(Shapefile, fg="white")
> rm(Map)
> shapepoly<-Map2poly(Shapefile, region.id = NULL)
Map2lines(Shapefile)
Map2points(Shapefile)
Map2bbs(Shapefile)
[[1]]
[,1] [,2]
[1,] -116.1655 34.03370
[2,] -116.1672 34.03370
[3,] -116.1819 34.03364
#R does its thing for a gillion more lines, then,
Error in Map2...