View source: R/biasCorrection.R
biasCorrection1D | R Documentation |
Implementation of several standard bias correction methods
biasCorrection1D(
o,
p,
s,
method,
scaling.type,
fitdistr.args,
precip,
pr.threshold,
n.quantiles,
extrapolation,
theta,
detrend,
isimip3.args,
parallel = FALSE,
max.ncores = 16,
ncores = NULL
)
o |
A vector (e.g. station data) containing the observed climate data for the training period |
p |
A vector containing the simulated climate by the model for the training period. |
s |
A vector containing the simulated climate for the variable used in |
method |
method applied. Current accepted values are |
scaling.type |
Character indicating the type of the scaling method. Options are |
fitdistr.args |
Further arguments passed to function |
precip |
Logical for precipitation data. If TRUE Adjusts precipitation
frequency in 'x' (prediction) to the observed frequency in 'y'. This is a preprocess to bias correct
precipitation data following Themeßl et al. (2012). To adjust the frequency,
parameter |
pr.threshold |
The minimum value that is considered as a non-zero precipitation. Ignored when
|
n.quantiles |
Integer indicating the number of quantiles to be considered when method = "eqm". |
extrapolation |
Character indicating the extrapolation method to be applied to correct values in
|
theta |
numeric indicating upper threshold (and lower for the left tail of the distributions, if needed)
above which precipitation (temperature) values are fitted to a Generalized Pareto Distribution (GPD).
Values below this threshold are fitted to a gamma (normal) distribution. By default, 'theta' is the 95th
percentile (5th percentile for the left tail). Only for |
detrend |
logical. Detrend data prior to bias correction? Only for |
parallel |
Logical. Should parallel execution be used? |
max.ncores |
Integer. Upper bound for user-defined number of cores. |
ncores |
Integer number of cores used in parallel computation. Self-selected number of
cores is used when |
M. Iturbide
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.