Description Usage Arguments Examples
Compares histograms of one or more parameters from the same output file, or one parameter from one or more output files.
1 2 | compPosts(logs, pars, thinning = 1, burnin = 0, alpha = 0.5,
fontsize = 3)
|
logs |
The name of the trait data file on which BayesTraits was run, or a vector of >1 names if comparing between >1 logs. |
pars |
A vector containing the names of two parameters to be compared. Must be a single parameter if comparing between two logs. Can be subsetted from the output of getParams(). |
thinning |
Thinning parameter for the posterior - defaults to 1 (all samples). 2 uses every second sample, 3 every third and so on. |
burnin |
The number of generations to remove from the start of the chain as burnin. |
1 2 | plotPosterior(cool-data.txt, c("Lh", "Alpha 1"))
plotPosterior(cool-data.txt, params[c(1:2)])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.