Plot Convergence for Hierarchical MPT Models

Share:

Description

Plot Convergence for Hierarchical MPT Models

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'betaMPT'
plot(x, parameter = "mean", type = "default", ...)

## S3 method for class 'simpleMPT'
plot(x, type = "default", ...)

## S3 method for class 'traitMPT'
plot(x, parameter = "mean", type = "default", ...)

Arguments

x

fitted hierarchical MPT model (traitMPT, betaMPT)

parameter

which parameter to plot (e.g., "theta", "rho", "slope"). Parameters are matched partially, in order to plot all entries of vector valued parameters (see getParam to get a list of parameters)

type

type of convergence plot. Can be one of "default" (trace+density), "acf" (auto-correlation function), "trace", "autocorr", "crosscorr","density", "gelman". See, e.g., plot.mcmc.list

...

further arguments passed to the plotting functions in coda

Methods (by class)

  • betaMPT: Plot convergence for beta MPT

  • simpleMPT: Plot convergence for nonhierarchical MPT model

  • traitMPT: Plot convergence for latent-trait MPT