powered by
Calculate rugosity, fractal dimension, and height for a DEM
rdh( data, lvec, method_fd = "hvar", method_rg = "area", parallel = FALSE, ncores = (parallel::detectCores() - 1), ... )
A dataframe with the three complexity metrics.
A dem of class RasterLayer.
Scales to use for calculation.
method for the calculation of rugosity and fractal dimension. Can be "hvar", "sd", "cubes", or "area". Defaults to "hvar".
Method to be used for the rugosity calculation. Defaults to "area".
Logical. Use parallel processing? Defaults to FALSE.
Number of cores to use if parallel = TRUE.
Additional arguments see fd().
fd()
Uses area method for rugosity and hvar method for fractal dimension calculations as default.
rg()
hr()
dem <- dem_sample(horseshoe, L = 1) rdh(dem, lvec = c(0.125, 0.25, 0.5, 1))
Run the code above in your browser using DataLab