View source: R/lake_distance.R
get_mat_distance | R Documentation |
Get the network distance matrix between points on a line network
get_mat_distance(lines, lakes, size_threshold = 4)
lines |
sf lines object |
lakes |
sf polygon object |
size_threshold |
numeric size above which to consider as a lake |
## Not run: library(nhdR) data(nhd_sub_lines) data(nhd_sub_lakes) get_mat_distance(nhd_sub_lines, nhd_sub_lakes) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.