dd.canopy: Nearest Canopy Pixel Distance and Direction from Plot Center

Description Usage Arguments Value Author(s) References Examples

View source: R/dd.canopy.R

Description

This function calculates the distance and direction to the nearest canopy pixel from the plot center

Usage

1
dd.canopy(chm = NA, thresh.val = 1.25, degrees = FALSE, from = FALSE)

Arguments

chm

Name of the CHM raster object output from a CHM function with stacked=FALSE. Defaults to NA.

thresh.val

Threshold value used for minimum canopy height. Defaults to 1.

degrees

Boolean switch for the output of direction values in degrees rather than radians. Defaults to FALSE.

from

Boolean switch for the output of direction values from nearest crowns rather than to nearest crowns. Defaults to FALSE.

Value

The results of dd.canopy

Author(s)

Adam Erickson, adam.erickson@ubc.ca

References

http://www.sciencedirect.com/science/article/pii/S0168192315001173

Examples

1
dd.canopy(chm=chm, thresh.val=1.25, degrees=FALSE, from=FALSE)

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