data_dir: directory where PCL .csv files are stored
user_height: height of laser from ground based on user in meters
marker.spacing: space between markers in the PCL data, in meters
max.vai: the maximum value of column VAI. The default is 8. Should be a max value, not a mean.
pavd: logical input to include Plant Area Volume Density Plot from [plot_pavd], if TRUE it is included, if FALSE, it is not.
hist: logical input to include histogram of VAI with PAVD plot, if TRUE it is included, if FALSE, it is not.
save_output: needs to be set to true, or else you are just going to get a lot of data on the screen
Returns
writes the hit matrix, summary matrix, and output variables to csv in an output folder, along with hit grid plot
Details
This is a specific function that works using the input of a data directory of .csv files where the function cycles through the files there and processes multiple files, producing the same output files described in process_pcl
Examples
# This function works on a directory of raw PCL data## Not run:data_directory <-"./data/PCL_transects/"#data directory containing PCL transectsprocess_multi_pcl(data_directory, user_height =1.05, marker.spacing =10,max.vai =8, pavd =FALSE, hist =FALSE, save_output =FALSE)process_multi_pcl("./data/PCL_transects/", user_height =1.05, marker.spacing =10,max.vai =8, pavd =FALSE, hist =FALSE, save_output =FALSE)## End(Not run)