Skip to contents

Correction by VBC for model ensembles

Usage

vbc_ensemble(mp, mc, rc, var_names, margins_controls, time_mp, ...)

Arguments

mp

data.table OR list
Simulation data from a climate model during projection period. If this is a list, the algorithm expects each element to be a member of a model ensemble. Each list element is then a data table.

mc

data.table
Simulation data from a climate model during calibration period.

rc

data.table
Historical reference in calibration period.

var_names

character
Names of corrected climate data. Defaults to the column names of the observed data rc.

margins_controls

list
A list with arguments to be passed to kde1d::kde1d(). Currently, there can be

  • mult numeric vector of length one or d; all bandwidths for marginal kernel density estimation are multiplied with mult. Defaults to log(1 + d) where d is the number of climate variables.

  • xmin numeric vector of length d; see kde1d::kde1d().

  • xmax numeric vector of length d; see kde1d::kde1d().

  • bw numeric vector of length d; see kde1d::kde1d().

  • deg numeric vector of length one or d; kde1d::kde1d().

  • type character vector of length one or d; must be one of c, cont, continuous for continuous variables, one of d, disc, discrete for discrete integer variables, or one of zi, zinfl, zero-inflated for zero-inflated variables.

time_mp

numeric
Time vector of the projection period attached to the returned object as a column. Defaults to NA, which means no time vector is attached.

...


Arguments are passed to rvinecopulib::vinecop to specify the structure of vines and margins. Note that the ellipsis of observed and model data are specified with the same arguments.

Value

list
A list of corrected data frames for each member of the model ensemble.