Description Usage Arguments Value Examples
Find the b parameter with no bias correction for precipitation
1 | pr_b_nb(scen_q, ctrl_q)
|
scen_q |
60 and 90 quantiles of the scenario period precipitation data |
ctrl_q |
60 and 90 quantiles of the control period precipitation data |
The b parameter value
1 2 3 4 5 6 7 8 | load('data/pr_sim.rda')
pr_sim[, pr5 := 60*60*24*frollsum(pr, 5, align = 'c')]
pr_sim = pr_sim[!is.na(pr5)]
pr_ctrl = pr_sim[year(DTM) %in% 1981:2010]
pr_scen = pr_sim[year(DTM) %in% 2071:2100]
ctrl_q = quantile(pr_ctrl$pr5, c(.6,.9))
scen_q = quantile(pr_scen$pr5, c(.6,.9))
pr_b <- pr_b_nb(scen_q, ctrl_q)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.