get_mat_distance: Get the network distance matrix between points on a line...

View source: R/lake_distance.R

get_mat_distanceR Documentation

Get the network distance matrix between points on a line network

Description

Get the network distance matrix between points on a line network

Usage

get_mat_distance(lines, lakes, size_threshold = 4)

Arguments

lines

sf lines object

lakes

sf polygon object

size_threshold

numeric size above which to consider as a lake

Examples

## Not run: 
library(nhdR)

data(nhd_sub_lines)
data(nhd_sub_lakes)

get_mat_distance(nhd_sub_lines, nhd_sub_lakes)

## End(Not run)


jsta/streamnet documentation built on July 9, 2022, 9:02 p.m.