Calculate perplexity from individual-level data
perplexity_individuals(
lca_result,
pre_test,
pst_test,
per_individual = FALSE,
na_as = c("dk", "missing"),
missing_action = c("omit", "error")
)numeric scalar or vector
output from lca_cor() or item_lca_fit()
data.frame of pre-test responses
data.frame of post-test responses
logical; return per-individual perplexity?
classification of NA responses
structural missingness handling