split_transects_from_pcl: Split transects from PCL

Description Usage Arguments Details Examples

View source: R/split_transects_from_pcl.R

Description

split_transects_from_pcl places data values into x-bins (x-coordinates and) and z-bins (z-coordinates)

Usage

1
2
split_transects_from_pcl(pcl_data, transect.length, marker.spacing,
  DEBUG = FALSE, data_dir, output_file_name)

Arguments

pcl_data

data frame of unprocessed PCL data.

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

1
2
3
# 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)

atkinsjeff/forestr documentation built on March 23, 2018, 1:25 a.m.