This is a helper function used for calculating fractal dimension using the height variation and standard deviation methods.
hvar(
data,
lvec = NULL,
parallel = FALSE,
ncores = (parallel::detectCores() - 1)
)
A data.frame
containing height ranges of cells at different scales.
Digital elevation model of class RasterLayer.
Scales to use for calculation.
Logical. Use parallel processing? Note: parallel must be installed.
Number of cores to use when parallel = TRUE.
hvar(horseshoe, lvec = c(1, 2, 4, 8))
Run the code above in your browser using DataLab