check_xs_dims: Check the validity of an 'fluvgeo' 'xs_dims' data structure

View source: R/check_xs_dims.R

check_xs_dimsR Documentation

Check the validity of an 'fluvgeo' 'xs_dims' data structure

Description

Checks that the input data structure 'xs_dims' meets the requirements for this data structure.

Usage

check_xs_dims(xs_dims)

Arguments

xs_dims

data frame; a 'xs_dims' data structure used by the fluvgeo package.

Value

Returns TRUE if the 'xs_dims' data structure 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.