classify_grid_rural() has been renamed to DoU_classify_grid_rural() to create a more consistent API and to better indicate that this function is specifically designed to classify rural cells in the context of the DEGURBA classification.
classify_grid_rural(data, classification, value = 1)SpatRaster with the grid cell classification of rural cells
path to the directory with the data, or named list with the data as returned by function DoU_preprocess_grid()
SpatRaster. A grid with the classification of urban centres and urban clusters to which the classification of rural cells will be added. Note that the grid will be adapted in-place.
integer. Value assigned to rural cells in the resulting grid