search for: map2bb

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

Did you mean: map2bbs
2003 Dec 01
1
Re: using shapefile as owin
...ibrary(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(xlim, ylim, log, asp, .....