Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot

Plot Convergence for Hierarchical MPT Models


Description

Plot Convergence for Hierarchical MPT Models

Usage

## 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", "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

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

Methods (by class)

  • betaMPT: Plot convergence for beta MPT

  • simpleMPT: Plot convergence for nonhierarchical MPT model

  • traitMPT: Plot convergence for latent-trait MPT


TreeBUGS

Hierarchical Multinomial Processing Tree Modeling

v1.4.7
GPL-3
Authors
Daniel W. Heck [aut, cre] (<https://orcid.org/0000-0002-6302-9252>), Nina R. Arnold [aut, dtc], Denis Arnold [aut], Alexander Ly [ctb], Marius Barth [ctb] (<https://orcid.org/0000-0002-3421-6665>)
Initial release
2021-01-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.