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