Description Usage Arguments Value Author(s) References See Also Examples
View source: R/inla.climate.tcr.R
Computes Bayesian inference about the transient climate response by Monte Carlo simulations generated by sampling from the posterior marginal distributions obtained by INLA.
1 | inla.climate.tcr(result, Qco2, nsamples = 100000, seed = 1234, print.progress = FALSE)
|
result |
An |
Qco2 |
The slope of the forcing when assuming a CO2 doubling in the future. |
nsamples |
The number of Monte Carlo simulations used in obtaining transient climate response inference. |
seed |
Seed used for random number generator. |
print.progress |
Prints progression if |
Returns a list of class inla.climate.tcr
which contains the following objects:
|
The mean value of the transient climate response simulations. |
|
The standard deviation of the transient climate response simulations. |
|
The 2.5% quantile value of the transient climate response simulations. |
|
The 50% quantile of the transient climate response simulations. |
|
The 97.5% quantile of the transient climate response simulations. |
|
List containing the Monte Carlo simulations of the TCR and all hyperparameters. |
|
The time spent doing the Monte Carlo simulations. |
Eirik Myrvoll-Nilsen eirik.myrvoll-nilsen@uit.no
Fredriksen, H.B., Rypdal, M. (2017) Long-Range Persistence in Global Surface Temperatures Explained by Linear Multibox Energy Balance Models. Journal of Climate 30 (18), 7157–7168.
1 2 3 4 5 | if(require("INLA",quietly=TRUE)){
data(GISS_E2_R)
result.climate <- inla.climate(data=GISS_E2_R$Temperature,forcing=GISS_E2_R$Forcing)
result.tcr <- inla.climate.tcr(result.climate$inla.result,Qco2=3.8)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.