score_mcq27 | R Documentation |
Score 27-item MCQ
score_mcq27(
dat = dat,
impute_method = "none",
round = 6,
random = FALSE,
trans = "none",
return_data = FALSE,
verbose = FALSE
)
dat |
Dataframe (longform) with subjectid, questionid, and response (0 for SIR/SS and 1 for LDR/LL) |
impute_method |
One of: "none", "ggm", "GGM", "inn", "INN" |
round |
Numeric specifying number of decimal places
(passed to |
random |
Boolean whether to insert a random draw (0 or 1) for NAs. Default is FALSE |
trans |
Transformation to apply to k values: "none", "log", or "ln". Default is "none" |
return_data |
Boolean whether to return the original data and new imputed responses. Default is FALSE. |
verbose |
Boolean whether to print subject and question ids pertaining to missing data. Default is FALSE. |
Summary dataframe
score_mcq27(mcq27)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.