metrics_lad | R Documentation |
Metrics based on the leaf area density. lidR::LAD()
used to calculate the leaf area density.
metrics_lad(z, zmin = NA, dz = 1, k = 0.5, z0 = 2)
.metrics_lad
z |
Z coordinate of the point cloud (point heights) |
zmin |
numeric. Minimum |
dz |
numeric. The thickness of the layers used (height bin) |
k |
numeric. is the extinction coefficient |
z0 |
numeric. The bottom limit of the profile |
An object of class formula
of length 2.
A list. lad_min
, lad_max
, lad_mean
, lad_cv
, and lad_sum
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.