default_plot: 'default_plot' Confidence interval plot for results from the...

Description Usage Arguments Examples

Description

default_plot Confidence interval plot for results from the compute_far functions

Usage

1
default_plot(ic_far)

Arguments

ic_far

a data_frame contaning estimates and their confidence intervales produced by the compute_far functions, i.e. the ic_far element of the returned list of the compute_far functions

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
library(FARg)
model <- "cnrm"
#load data from the package
data(list=model)
# formating data, e.g passing from temperature to anomalie, keep only hist
# and rcp runs
mdata <- format_data(get(model))
if(model != "obs") mdata <- select_continuous_run(mdata)
ans <- compute_far_simple.default(mdata,
 y="eur_tas", x="gbl_tas", time="year",
  xp=1.6, stat_model=gauss_fit, ci_p=0.9)
ic_x <- subset(ans$ic_far, param %in% c("x_all", "x_ant", "x_nat"))
default_plot(ic_x)

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