score_mcq27 {beezdiscounting} | R Documentation |
Score 27-item MCQ
Description
Score 27-item MCQ
Usage
score_mcq27(
dat = dat,
impute_method = "none",
round = 6,
random = FALSE,
return_data = FALSE,
verbose = FALSE
)
Arguments
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 |
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. |
Value
Summary dataframe
Examples
score_mcq27(mcq27)
[Package beezdiscounting version 0.3.1 Index]