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)
df
: data frame of unprocessed PCL datamarker.spacing
: distance between transect markers, typically 5 or 10 mlength of transect
Returns the transect length of a given PCL file given a known marker spacing.
# Get the length of the transect given a known spacing between data markers transect.length <- get_transect_length(pcl_data, marker.spacing = 10)