Skip to contents

Add a flagged and extension distance columns to set of transects with CS attributes based on new cross section points data

Usage

flag_transects_for_change(
  x,
  crosswalk_id = NULL,
  points_per_cs = NULL,
  min_pts_per_cs = 10,
  dem = default_dem,
  pct_of_length_for_relief = 0.01,
  na.rm = TRUE
)

Arguments

x

sf dataframe of transects

crosswalk_id

character, unique ID column

points_per_cs

numeric

min_pts_per_cs

numeric

dem

character

pct_of_length_for_relief

numeric

na.rm

logical, whether to remove NAs from the given cross section points and any NA comparison points pulled from the dem. Default is TRUE

Value

sf dataframe of transects with updated geometries