View source: R/as.SpatialLinesDataFrame.R
as.SpatialLinesDataFrame | R Documentation |
Convert to SpatialLinesDataFrame class
as.SpatialLinesDataFrame(x)
## S3 method for class 'epiflows'
as.SpatialLinesDataFrame(x)
x |
an epiflows object |
an object of class [sp::SpatialLinesDataFrame]
data("Brazil_epiflows")
data("YF_coordinates")
ef <- add_coordinates(Brazil_epiflows, YF_coordinates[-1])
ef2 <- epicontacts::thin(ef[j = c("Espirito Santo", "Italy"), contacts = "both"])
as.SpatialLinesDataFrame(ef2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.