inst/examples/0.10/08-m2-ppc.R

library(eyeprocess)

# Run after obtaining an M2 fit:
#
# fit <- fit_multimodal_m2(...)
# ppc <- multimodal_m2_ppc(fit)
# print(ppc)
# plot(ppc)

message(
  "M2 PPC uses item-level W (response), L (RT), and M (gaze) ",
  "posterior predictive discrepancies."
)

Try the eyeprocess package in your browser

Any scripts or data that you put into this service are public.

eyeprocess documentation built on Sept. 28, 2026, 5:08 p.m.