LAD metrics
metrics_lad.Rd
Metrics based on the leaf area density. lidR::LAD()
used to calculate the leaf area density.
Arguments
- z
Z coordinate of the point cloud (point heights)
- zmin
numeric. Minimum
z
value. If set,z
values (heights) below are ignored in calculations.- dz
numeric. The thickness of the layers used (height bin)
- k
numeric. is the extinction coefficient
- z0
numeric. The bottom limit of the profile
Examples
library(lidR)
library(lidRmetrics)
LASfile <- system.file("extdata", "Megaplot.laz", package="lidR")
las <- readLAS(LASfile, select = "*", filter = "-keep_random_fraction 0.5")
m1 <- cloud_metrics(las, ~metrics_lad(z = Z))
m2 <- pixel_metrics(las, ~metrics_lad(z = Z), res = 20)