View source: R/computeScores.R
Recodes items from questionnaires
1 2 3 | computeScores(dat, subscale_items_list, col_name_prefix = NULL,
col_name_prefix_overall = NULL, lower_subscale_names = T,
fun = "mean", compute_z = F, compute_overall = F)
|
dat |
Data object |
fun |
Set function for score computation as character: "mean" or "sum" |
subscale_namess |
Names for target scores |
list4items |
List of item/column names for each score in subscale_names |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.