transect.length: total transect length. Default value is 40 meters.
marker.spacing: distance between markers in meters within the PCL data. Default value is 10 m.
DEBUG: check to see order of final output. Default is FALSE.
data_dir: directory where PCL data .csv are stored if value is used.
output_file_name: old code relic that doesn't do much.
Details
Function to add two additional columns to the pcl dataset, one for the segment (which should only be from 1-4) and is designated by a -99999999 value in the return_distance column The only required parameters are the data frame of pcl data, with the length of transect and the marker spacing.
Examples
# Function that has the algorithm that splits the raw data into defined, equidistant x-bins. pcl_split <- split_transects_from_pcl(pcl_adjusted, transect.length =40, marker.spacing =10)