P.hv: Hemispherical-Voronoi Gap Fraction

Description Usage Arguments Value Author(s) References Examples

View source: R/P.hv.R

Description

This function implements Erickson's hemispherical-Voronoi gap fraction algorithm with four common lens geometries: equi-distant, equi-angular, stereographic, and orthographic

Usage

1
2
3
P.hv(las = NA, model = "equidist", thresh.val = 1.25,
  thresh.var = "height", reprojection = NA, pol.deg = 5, azi.deg = 45,
  col = "height", plots = TRUE, plots.each = FALSE, plots.save = FALSE)

Arguments

las

Path or name of LAS file. Defaults to NA.

model

Hemispherical lens geometry model to use. Options include equi-distant ("equidist"), equi-angular ("equiangle"), stereographic ("stereo"), and orthographic ("ortho"). Defaults to "equidist".

thresh.val

Specifies the value to use for thresholding. Defaults to 1.25.

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

Author(s)

Adam Erickson, adam.erickson@ubc.ca

References

Forthcoming

Examples

1
P.hv(las='C:/plot.las', model='equidist', thresh.val=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.