Plot Convergence for Hierarchical MPT Models
# S3 method for betaMPT
plot(x, parameter = "mean", type = "default", ...)# S3 method for simpleMPT
plot(x, type = "default", ...)
# S3 method for traitMPT
plot(x, parameter = "mean", type = "default", ...)
fitted hierarchical MPT model (traitMPT
, betaMPT
)
which parameter to plot (e.g., "theta"
,
"mean"
, "rho"
, "slope"
).
Parameters are matched partially, in order to plot all entries of vector
valued parameters (see getParam
to get a list of parameters).
Moreover, parameter labels can be used, e.g., "theta[D]"
or "rho[D,g]"
type of convergence plot. Can be one of "default"
(trace+density), "acf"
(auto-correlation function),
"trace"
, "autocorr"
, "crosscorr"
,"density"
,
"gelman"
. See plotting functions in the coda
package
(plot.mcmc.list
,
acfplot
,
traceplot
,
autocorr.plot
,
crosscorr.plot
,
densplot
,
gelman.plot
).
further arguments passed to the plotting functions in coda
plot(betaMPT)
: Plot convergence for beta MPT
plot(simpleMPT)
: Plot convergence for nonhierarchical MPT model
plot(traitMPT)
: Plot convergence for latent-trait MPT