newsf {icosa} | 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)