Description Usage Arguments Value See Also
Read a single BEAST log file and return as a coda "mcmc" object.
1 2 3 4 5 6 7 | readSingleLog(
filename,
burnin = 0.1,
maxsamples = -1,
as.mcmc = TRUE,
burninAsSamples = FALSE
)
|
filename |
The name of the log file to read. |
burnin |
Discard this proportion of samples at the start of the chain (if 'burninAsSamples' == FALSE). Otherwise discard this many samples at the start of the chain. |
maxsamples |
If > 0 stop after reading in this many lines (this option is only for testing and should generally not be used). |
as.mcmc |
If FALSE then return an object of class "data.frame", else return an "mcmc" object |
burninAsSamples |
if TRUE burnin is given as the number of samples, if FALSE burnin is a proportion (0 <= burnin < 1) of samples. (default = FALSE). |
An "mcmc" object (mcmc
) or data frame
(data.frame
) object containing all of the parameters
in the MCMC chain, with the burn-in discarded.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.