View source: R/model-criticism.R
| response_to_cell | R Documentation |
Map pre/post response pairs to cell indices
response_to_cell(
pre,
post,
has_dk = FALSE,
na_as = c("dk", "missing"),
missing_action = c("omit", "error")
)
pre |
character vector of pre-test responses ("0", "1", or "d") |
post |
character vector of post-test responses ("0", "1", or "d") |
has_dk |
logical; whether model includes don't know |
na_as |
classification of NA responses |
missing_action |
structural missingness handling |
integer vector of cell indices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.