calculate_total_distance: Calculate the total distance

View source: R/Slope.R

calculate_total_distanceR Documentation

Calculate the total distance

Description

By default, Slope objects include only the distance for each OFE rather than the total distance in the hillslope. This function calculates the total distance.

Usage

calculate_total_distance(slp)

Arguments

slp

A slope object

Value

A numeric vector of total distances

See Also

calculate_total_distance, integrate_slp, expand_slp, remove_slp_transitions

Examples

slp <- read_slp(system.file("extdata", "071000090603_2.slp", package="WEPPR"))
calculate_total_distance(slp)


jarad/WEPPR documentation built on Nov. 3, 2023, 5:42 a.m.