classify_grid {flexurba} | R Documentation |
Create the DEGURBA grid cell classification
Description
classify_grid()
has been renamed to DoU_classify_grid()
to create a more consistent API and to better indicate that this function is specifically designed for the DEGURBA grid classification.
Usage
classify_grid(
data,
level1 = TRUE,
parameters = NULL,
values = NULL,
regions = FALSE,
filename = NULL
)
Arguments
data |
path to the directory with the data, or named list with the data as returned by function |
level1 |
logical. Whether to classify the grid according to first hierarchical level ( |
parameters |
named list with the parameters to adapt the standard specifications in the Degree of Urbanisation classification. For more details, see section "Custom specifications" below. |
values |
vector with the values assigned to the different classes in the resulting classification:
|
regions |
logical. Whether to execute the classification in the memory-efficient pre-defined regions. For more details, see section "Regions" below (Note that this requires a large amount of memory). |
filename |
character. Output filename (with extension |
Value
SpatRaster with the grid cell classification