plot_all_marginals {BEDASSLE} | R Documentation |
Plots the marginal densities for all parameters
Description
Plots the posterior marginal density of all parameters. Users may specify whether they want a histogram, a density, or both.
Usage
plot_all_marginals(MCMC.output, percent.burnin = 0, thinning = 1,
population.names = NULL)
Arguments
MCMC.output |
The standard MCMC output file generated from a BEDASSLE run. |
percent.burnin |
The percent of the sampled MCMC generations to be discarded as "burn-in." If the
MCMC is run for 1,000,000 generations, and sampled every 1,000 generations, there
will be 1,000 sampled generations. A |
thinning |
The multiple by which the sampled MCMC generations are thinned. A |
population.names |
A vector of length |
Details
The marginal plot is another basic visual tool for MCMC diagnosis. Users should look for marginal plots that are "smooth as eggs" (indicating that the chain has been run long enough) and unimodal (indicating a single peak in the likelihood surface).
Author(s)
Gideon Bradburd