calculate_diff_slope: Calculates difference in OFE rows

View source: R/Slope.R

calculate_diff_slopeR Documentation

Calculates difference in OFE rows

Description

OFEs have matching slope as it transitions from one OFE to another. To validate this property, we calculate the difference of the last slope of an OFE and the first slope of the consecutive OFE and check whether this difference is zero.

Usage

calculate_diff_slope(slp_df)

Arguments

slp_df

A slope data frame

Value

Sum of the lagged difference of slopes

See Also

new_Slope

Examples

calculate_diff_slope(slp_df)

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