check_slope_sinuosity: Check the validity of the 'slope_sinuosity' function

View source: R/check_slope_sinuosity.R

check_slope_sinuosityR Documentation

Check the validity of the 'slope_sinuosity' function

Description

Checks that the output of the 'slope_sinuosity' function is valid.

Usage

check_slope_sinuosity(slope_sinuosity_df)

Arguments

slope_sinuosity_df

data frame; a data frame produced by the 'slope_sinousity' functionv.

Value

Returns TRUE if the 'slope_sinuosity_df' data frame matches the requirements. The function throws an error for a data structure not matching the data specification. Returns errors describing how the the data structure doesn't match the requirement.


FluvialGeomorph/fluvgeo documentation built on April 12, 2024, 5:35 p.m.