Extract the climatic information from a region slice and organise it as
a data frame. This is just a wrapper around terra::as.data.frame()
.
Arguments
- x
climate time slice (i.e. a
terra::SpatRaster
) generated withregion_slice()
- xy
a boolean whether x and y coordinates should be added to the dataframe (default to TRUE)
Details
To extract a data frame from a region series, see df_from_region_series()
.