View source: R/segvert2vector.R
convert the segvert.set to vector.set
1 | segvert2vector(segvert.set, site_sf)
|
segvert.set |
a segvert.set compute by site2segvert() containing column: seg, vert, seg1, vert1, onnected. Variable seg and vert is the snaped point from site to tth river, whereas column seg1, vert1 are the downstream snaped point |
site_sf |
a site sf (or dataframe) object that must contain column: id, X, Y, and the snapped point information from the riverdist::xy2segvert() columns: seg, vert |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.