search for: map2point

Displaying 1 result from an estimated 1 matches for "map2point".

Did you mean: mappoint
2003 Dec 01
1
Re: using shapefile as owin
...e 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 Map2lines(Shapefile) : maptype not line/arc > plot(shapepoly) Error in plot.window(...