Skip to contents

Classify Cross Section Points (version 2) Version 2 of cross section point classifier function, uses 1st and 2nd derivative of the depths to better classify channel points

Usage

classify_points(cs_pts, crosswalk_id = NULL, pct_of_length_for_relief = 0.01)

Arguments

cs_pts

CS points, output of hydrofabric3D::cross_section_pts()

crosswalk_id

character, ID column in cs_pts

pct_of_length_for_relief

numeric, percent of cross section length (cs_lengthm) to use as the threshold depth for classifying whether a cross section has "relief". If a cross section has at least X% of its length in depth, then it is classified as "having relief" (i.e. has_relief = TRUE). Value must be non negative number (greater than or equal to 0). Default is 0.01 (1% of the cross sections length).

Value

sf object