Displaying 1 result from an estimated 1 matches for "bdry2".
Did you mean:
bdry
2010 May 06
1
extracting coordinates from SpatialPolygonsDataFrame using slot functions
...$verts)-1),1],
y=bdry$Shapes[[1]]$verts[1:(nrow(bdry$Shapes[[1]]$verts)-1),2] )
bdry.owin <- owin( poly=bdry.poly )
grid <- gridcentres( bdry.owin, 200, 200 )
I've run across the following problem where I now need to use the readShapePoly function in the sp package:
bdry2 <- readShapePoly( "../../data/boundary.shp" )
which requires the elements be accessed using the slot function?
My question, after trying to find the answer on-line and in some docs, is how?
Help?
Also, I'm not sure I get the r-help digests, so if someone can shed light on the...