as.sp | R Documentation |
Converts a npsp object to a sp object.
as.sp(obj, ...)
## S3 method for class 'grid.par'
as.sp(obj, ...)
## S3 method for class 'data.grid'
as.sp(obj, data.ind = NULL, proj4string = CRS(as.character(NA)), ...)
obj |
a |
... |
further arguments passed to or from other methods. |
data.ind |
integer or character; vector with indexes or names of the data components. |
proj4string |
a |
as.sp.grid.par
returns a GridTopology-class
object.
as.sp.data.grid
returns a SpatialGridDataFrame-class
object.
as.data.frame.data.grid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.