View source: R/biasCorrection.R
dqm | R Documentation |
Detrended quantile matching with delta-method extrapolation
dqm(o, p, s, precip, pr.threshold, n.quantiles, detrend = TRUE)
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 |
precip |
Logical indicating if o, p, s is precipitation data. |
pr.threshold |
Integer. The minimum value that is considered as a non-zero precipitation. |
n.quantiles |
Integer. Maximum number of quantiles to estimate. Default: same as data length. |
detrend |
logical. Detrend data prior to bias correction? Default. TRUE. |
DQM method developed by A. Canon, from https://github.com/pacificclimate/ClimDown, https://cran.r-project.org/web/packages/ClimDown/.
A. Cannon (acannon@uvic.ca), A. Casanueva
Cannon, A.J., S.R. Sobie, and T.Q. Murdock (2015) Bias Correction of GCM Precipitation by Quantile Mapping: How Well Do Methods Preserve Changes in Quantiles and Extremes?. J. Climate, 28, 6938–6959, https://doi.org/10.1175/JCLI-D-14-00754.1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.