Learn R Programming

TreeBUGS (version 1.5.0)

plotParam: Plot Parameter Estimates

Description

Plot parameter estimates for hierarchical MPT models.

Usage

plotParam(
  x,
  includeIndividual = TRUE,
  addLines = FALSE,
  estimate = "mean",
  select = "all",
  ...
)

Arguments

x

a fitted Beta or latent-trait MPT model

includeIndividual

whether to plot individual estimates

addLines

whether to connect individual parameter estimates by lines

estimate

type of point estimates for group-level and individual parameters (either "mean" or "median")

select

character vector of parameters to be plotted (e.g., select = c("d", "g"). Can be used to plot subsets of parameters and change the order of parameters.

...

further arguments passed to the standard plot function

Author

Daniel Heck

See Also

betaMPT, traitMPT, plotDistribution

Examples

Run this code
if (FALSE) {
plotParam(fit,
  addLines = TRUE,
  estimate = "median",
  select = c("d1", "d2")
)
}

Run the code above in your browser using DataLab