plot_fit_statistic: Densityplots of posterior predicitve checks

Description Usage Arguments Value

Description

Densityplots of posterior predicitve checks

Usage

1
2
3
4
5
6
7
8
9
plot_fit_statistic(
  model,
  data,
  units = c(1, 9),
  group = "item",
  ppmcMethod = "C",
  hdi_width = 0.89,
  ncol = NULL
)

Arguments

model

birtmsfit object

data

data.frame; data generated with birtms::get_ppmccriteria

units

integer vector of length 2; first and last item/person to generate a plot for

group

char; 'item' or column name of person identifier (e.g. 'person', 'id', 'token')

ppmcMethod

char; either 'C' for consevative checks or 'M' for mixed ppmc with independently drawn theta distribution

hdi_width

double; sets width of credibility interval

ncol

intger; used with facet_warp

Value

ggplot object


Famondir/birtms documentation built on Feb. 18, 2022, 2:51 a.m.