View source: R/check_cross_section.R
check_cross_section | R Documentation |
Checks that the input data structure 'cross_section' meets the requirements for this data structure.
check_cross_section(
cross_section,
step = c("assign_ids", "watershed_area", "river_position", "station_points",
"loop_bend")
)
cross_section |
SpatialLinesDataFrame of sf: a 'cross_section' data structure used by the fluvgeo package. |
step |
character; last completed processing step. One of "assign_ids", "watershed_area", "river_position", "station_points", "loop_bend" |
Cross section feature classes evolve as different steps are performed on them. The 'step' parameter allows a 'cross section' data structure to be checked throughout its lifecycle. Each step defines a changing set of requirements for the 'cross section' data structure.
Returns TRUE if the 'cross_section' 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.