continue_with_q: ans <- compute_forall(compute_far.default,...

Description Usage Arguments Value Examples

Description

continue_with_q computes the quantile corresponding to a probability of exceedance p from the results of a compute_far function

Usage

1
continue_with_q(ans, model, p)

Arguments

ans

results of a compute_far function

model

the name of the model for which compute_far has been run

p

the probability used to define the quantile

Value

a list with the same objects as a compute_far function with in addition an object allq which contains all the bootstrap estimates of q

Examples

1
2
3
4
# compute the FAR for the CNRM model using a  gam decomposition
# and a gaussian fit with only three bootstrap samples
ans <- compute_far.default(model="cnrm", y="eur_tas", x="gbl_tas", time="year", xp=1.6, stat_model=gauss_fit, ci_p=0.9)
ans <- continue_with_q(ans, model="cnrm", p=0.01)

thaos/FARallnat documentation built on May 25, 2019, 8:18 a.m.