plotParam: Plot Parameter Estimates

View source: R/plotParameters.R

plotParamR Documentation

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(s)

Daniel Heck

See Also

betaMPT, traitMPT, plotDistribution

Examples

## Not run: 
plotParam(fit,
  addLines = TRUE,
  estimate = "median",
  select = c("d1", "d2")
)

## End(Not run)

TreeBUGS documentation built on May 31, 2023, 9:21 p.m.