check_raster | R Documentation |
Checks the validity of raster layers to be inputted in mland()
, intended to represent land cover. The function directly calls
landscapemetrics::check_landscape()
.
check_raster(raster, verbose = TRUE)
raster |
An object of class 'RasterLayer', 'RasterStack', 'RasterBrick', 'SpatRaster', or a list of raster objects (one of 'RasterLayer' or 'SpatRaster'). |
verbose |
Print warning messages in the console? Default is TRUE. |
Extracts basic information about the inputted raster: coordinate reference system (crs) - either "geographic", "projected", or NA, units of the coordinate reference system, class for the values of the inputted raster and the number of classes found in the raster.
A data frame with relevant information about the inputted raster.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.