rdh | R Documentation |
Calculate rugosity, fractal dimension, and height for a DEM
rdh(
data,
lvec,
method_fd = "hvar",
method_rg = "area",
parallel = FALSE,
ncores = (parallel::detectCores() - 1),
...
)
data |
A dem of class RasterLayer. |
lvec |
Scales to use for calculation. |
method_fd |
method for the calculation of rugosity and fractal dimension. Can be "hvar", "sd", "cubes", or "area". Defaults to "hvar". |
method_rg |
Method to be used for the rugosity calculation. Defaults to "area". |
parallel |
Logical. Use parallel processing? Defaults to FALSE. |
ncores |
Number of cores to use if parallel = TRUE. |
... |
Additional arguments see |
Uses area method for rugosity and hvar method for fractal dimension calculations as default.
A dataframe with the three complexity metrics.
fd()
rg()
hr()
dem <- dem_sample(horseshoe, L = 1)
rdh(dem, lvec = c(0.125, 0.25, 0.5, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.