Automatic scale scoring from a dic file
Usage
score_from_dic(data, dic = NULL, impute_values = FALSE)
Arguments
- data
A data frame with dic information
- dic
A dic file with scoring information
- impute_values
If TRUE, missing values are imputed before scoring.
Value
A data frame with added scale scores.