Extract the climatic information from a region series and organise them as a data frame.
Arguments
- x
climate time series generated with
region_series()
- xy
a boolean whether x and y coordinates should be added to the dataframe (default to TRUE)
Value
a data.frame where each cell each raster layer (i.e. timestep) is a row, and the available variables are columns.
Details
To extract a data frame from a region slice, see df_from_region_slice()
.