remove_slp_transitions: Remove first row for each new OFE in a Slope object or Soil...

View source: R/Slope.R

remove_slp_transitionsR Documentation

Remove first row for each new OFE in a Slope object or Soil object

Description

In calculating slope and elevation, it is convenient if the Slope object does not have the first row for each new OFE. This function will remove that first row.

Usage

remove_slp_transitions(slp)

Arguments

slp

A Slope object

Value

A modified Slope object with the first row of each new OFE removed.

See Also

plot.Slope, expand_slp, integrate_slp

Examples

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

remove_slp_transitions(data.frame(n = rep(1:3, times = c(3,4,5)))

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