Converts a npsp object to a sp object.
as.sp(obj, ...)# S3 method for grid.par
as.sp(obj, ...)
# S3 method for data.grid
as.sp(obj, data.ind = NULL, proj4string = CRS(as.character(NA)), ...)
as.sp.grid.par
returns a GridTopology-class
object.
as.sp.data.grid
returns a SpatialGridDataFrame-class
object.
a npsp
object.
further arguments passed to or from other methods.
integer or character; vector with indexes or names of the data components.
a CRS-class
object.
as.data.frame.data.grid