score_paibor | R Documentation |
This function scores the PAI-BOR subscales for all subject IDs in the tracker tab of the master spreadsheet.
score_paibor(
df,
item_prefix = "PAIBOR_",
max_impute = 0.2,
min_value = 0,
max_value = 3
)
df |
dataframe containing the PAI-BOR 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 scale. Below this threshold, the person subscale mean will be imputed for missing items. |
min_value |
the minimum value for the item anchors, used in reverse scoring. Default: 0 |
max_value |
the highest value for the item anchors, used in reverse scoring. Default: 3 |
A data frame with the PAI-BOR subscales scores and total PAI-BOR score
Nidhi Desai
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.