df_from_region_slice {pastclim} | R Documentation |
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()
.
df_from_region_slice(x, xy = TRUE)
x |
climate time slice (i.e. a |
xy |
a boolean whether x and y coordinates should be added to the dataframe (default to TRUE) |
To extract a data frame from a region series, see df_from_region_series()
.
a data.frame where each cell the raster is a row, and the available variables are columns.