View source: R/model-criticism.R
| perplexity_individuals | R Documentation |
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")
)
lca_result |
output from lca_cor() or item_lca_fit() |
pre_test |
data.frame of pre-test responses |
pst_test |
data.frame of post-test responses |
per_individual |
logical; return per-individual perplexity? |
na_as |
classification of NA responses |
missing_action |
structural missingness handling |
numeric scalar or vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.