score_lsas | R Documentation |
Score the Liebowitz Social Anxiety Scale (LSAS)
score_lsas(
df,
item_prefix = "LSAS_",
max_impute = 0.2,
min_value = 0,
max_value = 3,
drop_items = FALSE,
add_alphas = TRUE
)
df |
a data.frame containing the LSAS items to be scored |
item_prefix |
a character prefix of the items names in |
max_impute |
the proportion of missingness [0..1] or number [1..n] of missing values per subscale. Below this, the mean will be imputed for missing items. |
min_value |
the lowest value for the items anchors, used to check response validity. Default: 0 |
max_value |
the highest value for the items anchors, used to check response validity. Default: 3 |
drop_items |
whether to remove the item-level data from the |
add_alphas |
whether to compute coefficient alpha for subscales and return a column attribute. Default: TRUE |
A data frame with LSAS items, four social interaction & performance fear and avoidance subscales scores and two total fear and avoidance scores.
Nidhi Desai
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.