powered by
Extract values and metadata from terra::SpatRaster
.rast(x)
the function that extracts values and metadata.
SpatRaster(1) the SpatRaster object.
This function simply extracts the values from x and appends the raster metadata as attributes.
x