Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_pathlength

Get path length


Description

Generates the main path length to a basin's terminal path.

Usage

get_pathlength(x)

Arguments

x

data.frame with ID, toID, length columns.

Examples

source(system.file("extdata", "walker_data.R", package = "nhdplusTools"))

fl <- dplyr::select(prepare_nhdplus(walker_flowline, 0, 0),
                    ID = COMID, toID = toCOMID, length = LENGTHKM)

get_pathlength(fl)

nhdplusTools

NHDPlus Tools

v0.4.0
CC0
Authors
David Blodgett [aut, cre], Mike Johnson [ctb] (<https://orcid.org/0000-0002-5288-8350>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.