Skip to contents

Add an extension_distance column based off valid_banks and has_relief attributes

Usage

add_attribute_based_extension_distances(
  transects,
  scale = 0.5,
  length_col = NULL
)

Arguments

transects

dataframe, tibble or sf dataframe with length_col, "valid_banks", and "has_relief" columns

scale

numeric, percentage of current transect line length to extend transects in transects_to_extend by. Default is 0.5 (50% of the transect length)

length_col

character, name of the column with the numeric cross section length

Value

dataframe, tibble or sf dataframe