plot.glmmr.sim: Plotting method for glmmr.sim

View source: R/printfunctions.R

plot.glmmr.simR Documentation

Plotting method for glmmr.sim

Description

Plots a glmmr.sim object

Usage

## S3 method for class 'glmmr.sim'
plot(x, par, alpha = 0.05)

Arguments

x

A 'glmmr.sim' object

par

Integer indicating the index of the parameter to plot if not a Bayesian analysis

alpha

Numeric indictaing the type I error rate for non-Bayesian analysis

Details

For a Bayesian simulation analysis, this will plot the simulation based calibration ranks and the distribution of the posterior variance. Otherwise, it will plot the distribution of confidence interval half widths.

Value

A 'ggplot2' plot

Examples

...

samuel-watson/glmmr documentation built on July 27, 2022, 10:30 p.m.