View source: R/all_diagnostics.R
plot.angmcmc | R Documentation |
Summary plots for angmcmc objects
## S3 method for class 'angmcmc' plot( x, par.name, comp.label, chain.no, do.paramtrace = TRUE, do.lpdtrace = TRUE, use.llik = FALSE, ... )
x |
angmcmc object |
par.name |
vector of names of parameters for which point estimates are to be computed. If |
comp.label |
vector of component labels (positive integers, e.g., |
chain.no |
vector of chain numbers whose samples are to be be used. in the estimation. By default all chains are used. |
do.paramtrace |
logical. Should the trace(s) for the parameter(s) be plotted? |
do.lpdtrace |
logical. Should the log posterior trace be plotted? |
use.llik |
logical. Should the log likelihood be plotted
instead? Ignored if |
... |
unused |
# first fit a vmsin mixture model # illustration only - more iterations needed for convergence fit.vmsin.20 <- fit_vmsinmix(tim8, ncomp = 3, n.iter = 20, n.chains = 1) plot(fit.vmsin.20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.