Displaying 3 results from an estimated 3 matches for "bdri".
Did you mean:
dri
2010 May 06
1
extracting coordinates from SpatialPolygonsDataFrame using slot functions
In converting some older code:
## builds an OWIN to generate a set of points on a grid within the OWIN object:
bdry <- read.shape( "../../data/boundary.shp" )
outline.verts <- bdry$Shapes[[2]]$verts[1:bdry$Shapes[[2]]$Pstart[2],]
outline.order <- nrow( outline.verts ) : 2
bdry.poly <- vector( 2, mode="list" )
bdry.poly[[1]] <- list(
2011 Nov 18
1
Delete Rows Dynamically Within a Loop
Ok guys, as requested, I will add more info so that you understand why a
simple vector operation is not possible. It's not easy to explain in few
words but let's see. I have a huge amount of points over a 2D space.
I divide my space in a grid with a given resolution,say, 100m. The main loop
that I am not sure if it's mandatory or not (any alternative is welcomed) is
to go through EACH
2011 Jan 14
1
holding objects in dataframes
Hello list,
I need to keep track of objects that are related to particular
observations. In this case, I need to keep track of polygons that are
associated with observations. What I would ideally have is one column
of a dataframe hold a "polygonal" object (from the spatstat package).
My question: I seem to have managed to do it, but as I haven't read that
dataframes are supposed