Dispersion metrics
metrics_dispersion.RdMetrics characterizing the dispersion of point heights
Value
A list. Calculated metrics include:
ziqrinterquartile distancezMADmeanmean absolute deviation (MAD) around the meanzMADmedianmean absolute deviation (MAD) around the medianCRRcanopy relief ratiozentropyentropyVCIvertical complexity index. Optional - calculated only if thezmaxparameter is provided.
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_dispersion(z = Z))
m2 <- pixel_metrics(las, ~metrics_dispersion(z = Z, dz = 2, zmax = 30), res = 20)