DoU_get_grid_parameters {flexurba} | R Documentation |
Get the parameters for the DEGURBA grid cell classification
Description
The argument parameter
of the function DoU_classify_grid()
allows to adapt the standard specifications in the Degree of Urbanisation in order to construct an alternative version of the grid classification. This function returns a named list with the standard parameters.
Usage
DoU_get_grid_parameters(level1 = TRUE)
Arguments
level1 |
logical. Whether to return the standard parameters of level 1 of the Degree of Urbanisation ( |
Value
named list with the standard parameters
Examples
# example on how to employ the function to construct
# an alternative version of the grid classification:
# get the standard parameters
parameters <- DoU_get_grid_parameters()
# adapt the standard parameters
parameters$UCL_density_threshold <- 500
parameters$UCL_size_threshold <- 6000
parameters$UCL_smooth_pop <- TRUE
parameters$UCL_smooth_pop_window <- 7
# load the data
grid_data <- DoU_load_grid_data_belgium()
# use the adapted parameters to construct a grid cell classification
classification <- DoU_classify_grid(
data = grid_data,
parameters = parameters
)
[Package flexurba version 0.2.2 Index]