slice_region_series: Extract a slice for a time series of climate variables for a...

View source: R/slice_region_series.R

slice_region_seriesR Documentation

Extract a slice for a time series of climate variables for a region

Description

This function extracts a time slice from time series of one or more climate variables for a given dataset covering a region (or the whole world).

Usage

slice_region_series(x, time_bp = NULL, time_ce = NULL)

Arguments

x

climate time series generated with region_series()

time_bp

time slice in years before present (i.e. 1950, negative integers for values in the past). The slices need to exist in the dataset. To check which slices are available, you can use time_bp(x).

time_ce

time slice in years CE. Only one of time_bp or time_ce should be used.

Value

a terra::SpatRaster of the relevant slice.


EvolEcolGroup/pastclim documentation built on Nov. 8, 2024, 5:21 a.m.