hvar | R Documentation |
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)
)
data |
Digital elevation model of class RasterLayer. |
lvec |
Scales to use for calculation. |
parallel |
Logical. Use parallel processing? Note: parallel must be installed. |
ncores |
Number of cores to use when parallel = TRUE. |
A data.frame
containing height ranges of cells at different scales.
hvar(horseshoe, lvec = c(1, 2, 4, 8))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.