classify_quantile | R Documentation |
Classify a integer or numeric raster using quantiles interval
classify_quantile(r, q = c(0.25, 0.5, 0.75), decimal_places = 2)
r |
SpatRaster raster to be classified |
q |
numeric quantiles do be used (interval 0 to 1) |
decimal_places |
define the number of decimal places to legend |
SpatRaster returns a categorical raster
# classify_quantile(r = dem, q = c(0.25, 0.5, 0.75), decimal_places = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.