Description Usage Arguments Value Examples
View source: R/mcmc_output_fxns.R
Writes an RData file with the MCMC history for an coupled DICE run. The function also calculates and prints to the screen the statistics for all the parameters that were optimized and does a Gaussian fit to these parameters. The results of these fits are written to separate a csv file.
1 2 3 |
tab.model |
The MCMC history of the direct fit of the model data |
tab |
The MCMC history of an indirect fit of the model using a coupled model. This array includes all the parameters except the two that define the coupling matrix. |
tab.cpl |
The MCMC history of the two parameters that help define the coupling matrix: the saturation distance and the distance power. |
opt.list |
A logical list of all the parameters DICE recognizes and can optimize with TRUE/FALSE |
opt.cpl |
A logical list for the two parameters that help define the coupling matrix. |
run.list |
a list with parameters used for the MCMC procedure |
mydata |
A dataframe with all the data available for this run |
imask |
AN array of integers with +1/-1 values for parameters that are optimized (or not) |
cpl_imask |
An array of length two with +1/-1 for the two parameters that help define the coupling matrix |
ireal |
Integer - the MCMC chain number |
err Returns err = 0
1 2 3 | mcmc.single.write{tab.model = tab.model, tab= tab , tab.cpl = tab.cpl,
opt.list = opt.list,run.list = run.list, mydata = mydata, imask = imask,
cpl_imask = cpl_imask, ireal = 1}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.