get_transect_length function

Get transect length of PCL transect (in meters)

Get transect length of PCL transect (in meters)

get_transect_length acquires the length of a transect based on a known marker spacing of the data markers stored in pcl data.

get_transect_length(df, marker.spacing)

Arguments

  • df: data frame of unprocessed PCL data
  • marker.spacing: distance between transect markers, typically 5 or 10 m

Returns

length of transect

Details

Returns the transect length of a given PCL file given a known marker spacing.

Examples

# Get the length of the transect given a known spacing between data markers transect.length <- get_transect_length(pcl_data, marker.spacing = 10)