vmp_plot: Plot the posterior distributions of the focal parameters from...

Description Usage Arguments Value Author(s) Examples

Description

This function plots the univariate and bivariate (if applicable) distributions of the focal (alpha) parameters from a Variability Model where the variability is used as a predictor in a second-stage model. The latent variability estimates are referred to as “Sigma” and, if used, the latent intercepts are referred to as “U”.

Usage

1
vmp_plot(alpha, useU = TRUE, plot = TRUE, digits = 3, ...)

Arguments

alpha

Results from running varian and extracting the results.

useU

Logical indicating whether to plot the latent intercepts (defaults to TRUE). Must set to FALSE if not available.

plot

Logical whether to plot the results or just return the grob for the plots. Defaults to TRUE.

digits

Integer indicating how many digits should be used for displaying p-values

...

Additional arguments (not currently used)

Value

A list containing the Combined and the Individual plot objects.

Author(s)

Joshua F. Wiley <josh@elkhartgroup.com>

Examples

1
2
3
# Using made up data because the real models take a long time to run
set.seed(1234) # make reproducible
vmp_plot(matrix(rnorm(1000), ncol = 2))

varian documentation built on May 2, 2019, 6:09 a.m.