newsp {icosa} | R Documentation |
Add a SpatialPolygons
object to a predefined slot in a trigrid
or hexagrid
object
Description
Add a SpatialPolygons
object to a predefined slot in a trigrid
or hexagrid
object
Usage
newsp(gridObj, res = NULL)
## S4 method for signature 'trigrid'
newsp(gridObj, res = NULL)
Arguments
gridObj |
|
res |
( |
Value
A trigrid
or hexagrid
object with the new @sp
slot.
Examples
a<-trigrid(4)
a<-newsp(a)
plot(a)
[Package icosa version 0.11.0 Index]