get_future_layers {sdmpredictors} | R Documentation |
Get the name of future climate layer(s) based on the current climate layer(s)
Description
get_future_layers
returns information on the future climate layers for
the matching current climate layers.
Usage
get_future_layers(current_layer_codes, scenario, year)
Arguments
current_layer_codes |
character vector. Code(s) of the current climate
layers either as a character vector or as the dataframe provided by
|
scenario |
character vector. Climate change scenario, e.g. |
year |
integer. Year for which you want the climate change prediction,
e.g. |
Details
Stops with an exception if no matching future climate layer was found for one or more of the provided current climate layer codes.
Value
A dataframe with information on the future layer(s) matching the provided current layer(s).
See Also
list_layers_future
, list_layers
,
load_layers
Examples
future_layers <- get_future_layers(c("BO_salinity", "BO_sstmean"),
scenario = "B1", year = 2100)
future_layers$layer_code
[Package sdmpredictors version 0.2.15 Index]