read.cosmosis.mcmc | R Documentation |
Reads a file in CosmoSIS MCMC sampler output format and creates a data frame from it. Each line in the file corresponds to a sample in the data frame; each column in the file corresponds to a column in the data frame.
read.cosmosis.mcmc(fname, burn = 0L, drop.nonsampling = TRUE)
fname |
The name of the CosmoSIS MCMC sampler output file to be read. making the data frame |
burn |
The length of the burn-in period; these samples are ignored in making the data frame. |
drop.nonsampling |
(default TRUE) if TRUE, non-sampling columns are dropped |
The columns in a CosmoSIS MCMC data frame are:
log-likelihood of the sample.
normalized likelihood of the sample.
one column per sampled variable in the MCMC output, named as in the output.
We expect the first line of the output to contain the names of the parameters, separated by spaces, and with section names separated from parameter names by a double-hyphen.
a CosmoSIS MCMC data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.