st_explode | R Documentation |
st_explode
split a lines data.frame into
each vertex. It to mimic the function explode from qgis, that the reason for the name
st_explode
st_explode(net)
net |
A spatial dataframe of class "sp" or "sf". When class is "sp" it is transformed to "sf". |
All variables are transformed into numeric.
## Not run:
# do not run
library(vein)
data(net)
net2 <- st_explode(net)
dim(net)
dim(net2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.