Description Usage Arguments Value Examples
This function automatically scores a set of items and creates a scale variable. It detects inverse coding using the psych::alpha function.
1 | auto_score(df, prefix)
|
df |
a dataframe that contains an item set |
prefix |
the prefix used in all items and also the name of the new scale. |
the dataframe with the new scale column
1 2 3 4 5 | ## Not run:
library(dataforsocialscience)
robo_care_raw %>% auto_score("KUT")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.