inst/examples/0.11/04-m4-fit.R

if (requireNamespace("cmdstanr", quietly = TRUE)) {
  sim <- simulate_multimodal_m4(n_person = 40L, n_item = 10L, seed = 20260820L)
  spec <- multimodal_m4_spec(n_states = 2L)
  # Deliberate backend fit; uncomment for interactive use.
  # fit <- fit_multimodal_m4(sim, spec = spec, chains = 4L, iter_warmup = 600L, iter_sampling = 400L)
}

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.