process_tls: Process single PCL transects.

Description Usage Arguments Details Value Examples

View source: R/process_tls.R

Description

process_tls imports and processes a slice from a voxelated TLS scan.

Usage

1
process_tls(f, slice, pavd = FALSE, hist = FALSE)

Arguments

f

the name of the filename to input <character> or a data frame <data frame>.

slice

the number of the transect to use from xyz tls data

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.

Details

This function takes as input a four column .CSV file or data frame of x, y, z, and VAI (Vegetation Area Index) derived from 3-D LiDAR data. Currently, this function only analyzes a single slice from the inputed TLS data set. VAI is calculated externally by the user using user-determined methodologyy.

Value

writes the hit matrix, summary matrix, and output variables to csv in an output folder, along with hit grid plot

Examples

1
2
# with designated file
## Not run: process_tls("tls.csv", slice = 5, pavd = FALSE, hist = FALSE)

atkinsjeff/forestr documentation built on Nov. 29, 2017, 3:18 a.m.