Correction by VBC for model ensembles
vbc_ensemble.Rd
Correction by VBC for model ensembles
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 datarc
.- margins_controls
list
A list with arguments to be passed tokde1d::kde1d()
. Currently, there can bemult
numeric vector of length one or d; all bandwidths for marginal kernel density estimation are multiplied withmult
. Defaults tolog(1 + d)
whered
is the number of climate variables.xmin
numeric vector of length d; seekde1d::kde1d()
.xmax
numeric vector of length d; seekde1d::kde1d()
.bw
numeric vector of length d; seekde1d::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 toNA
, 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.