newsp | R Documentation |
SpatialPolygons
object to a predefined slot in a trigrid
or hexagrid
objectAdd a SpatialPolygons
object to a predefined slot in a trigrid
or hexagrid
object
newsp(gridObj, res = NULL)
## S4 method for signature 'trigrid'
newsp(gridObj, res = NULL)
gridObj |
( |
res |
( |
A trigrid
or hexagrid
object with the new @sp
slot.
a<-trigrid(4)
a<-newsp(a)
plot(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.