P.hv.par: Parallel Hemispherical-Voronoi Gap Fraction

Description Usage Arguments Value Author(s) References Examples

View source: R/P.hv.par.R

Description

This function is a wrapper that allows you to run P.hv on multiple plots in parallel using multi-core CPUs with snow

Usage

1
2
3
P.hv.par(las = NA, models = "all", thresh.vals = seq(1, 4, 0.5),
  thresh.var = "height", reprojection = NA, pol.deg = 5, azi.deg = 45,
  col = "height", plots = TRUE, plots.each = FALSE, plots.save = FALSE)

Arguments

las

String vector or list of LAS files. Defaults to NA.

models

String vector or list of hemispherical lens models to use. Options include equi-distant ("equidist"), equi-angular ("equiangle"), stereographic ("stereo"), orthographic ("ortho"), or "all". Defaults to "all".

thresh.vals

String vector or list of height thresholds to use. Defaults to 2.

thresh.var

Specifies the LiDAR metric to use for thresholding canopy points. Options include height, intensity, nreturn, and class. Defaults to height.

reprojection

Proj4 projection string to use for reprojection. Defaults to NA.

pol.deg

Specifies the polar resolution for the radial plot lines. Defaults to 5.

azi.deg

Specifies the azimuthal resolution for the radial plot lines. Defaults to 45.

col

Specifies the LiDAR metric to use to color points of first plot in display. Options include height, intensity, nreturn, and class. Defaults to height.

plots

Boolean switch for the interactive display of plots. Defaults to FALSE.

plots.each

Boolean switch for displaying individual of plots. Defaults to FALSE.

plots.save

Boolean switch for the saving of plot files to the las.path folder. Defaults to FALSE.

Value

The results of P.hv.par

Author(s)

Adam Erickson, adam.erickson@ubc.ca

References

Forthcoming

Examples

1
2
P.hv.par(las='C:/plot.las', models=c('equidist','stereo'), threshs=seq(1,4,0.5))
P.hv.par(las=las.list, models='all', thresh.vals=1.25, thresh.var='height', reprojection=NA, pol.deg=5, azi.deg=45, col='height', plots=TRUE, plots.each=FALSE, plots.save=FALSE)

adam-erickson/gapfraction documentation built on May 5, 2019, 6:57 p.m.