| demo_fit | R Documentation |
Returns a bayesqm_fit with realistic Q-methodology structure:
every participant has a dominant factor, roughly 40 percent of the
statements polarise the factor pair, 10 percent are consensus, and
the remainder are weakly partial. Use it for documentation,
teaching materials, and the package vignette; it is not a
substitute for fit_bayesian() on real data.
demo_fit(N = 20, J = 22, K = 2, Td = 400, seed = 1L)
N |
Number of participants. |
J |
Number of statements. |
K |
Number of factors. |
Td |
Number of posterior draws. |
seed |
Integer seed for reproducibility; |
A bayesqm_fit.
fit <- demo_fit(N = 12, J = 15, K = 2)
plot(fit)
summary(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.