Description Usage Arguments Details Value Author(s)
Converts a dataframe of IDs and coordinates into a SpatialLines object of the package "sp".
1 | df2lines(linedf)
|
linedf |
a data frame with the following columns: id = generic ids of the lines, fx = coordinates x of the first point of the line, fy = coordinates y of the first point of the line, tx = coordinates x of the second point of the line, tx = coordinates y of the second point of the line. |
df2lines
SpatialLinesDataFrame
Duccio Aiazzi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.