alpha_table | R Documentation |
Returns a data.frame with item analyses for the provided scales.
alpha_table(
data,
scales,
labels = NULL,
round = 2,
CI = TRUE,
conf_level = 0.95,
check_key = TRUE,
keys = "auto",
RMSEA = FALSE,
difficulty = FALSE,
values = NULL,
fa = TRUE
)
data |
A data Frame |
scales |
A list containing vectors with variable names. Each list element defines one scale. Named list elements are used as labels. |
labels |
Label names for scales (defaults to named list elements in 'scales'). |
round |
Rounds values to given decimal position. |
CI |
If TRUE confidence intervals are calculated. |
conf_level |
Confidence level (e.g. 0.95 for 95 percent). |
check_key |
Check_key for the psych::alpha function. |
keys |
Optional key argument for the psych::alpha function. |
RMSEA |
If TRUE RMSEA is calculated. |
difficulty |
If TRUE, the difficulty of the item is calculated. |
values |
Sets maximum and minimum valid values necessary to calculate item difficulty |
fa |
If TRUE, a one factor exploratory factor analyses is calculated and loadings are reported. |
A data frame with concise scale indices.
scales <- get_scales(ex_itrf,
Int = scale == "ITRF" & subscale == "Int",
Ext = scale == "ITRF" & subscale == "Ext"
)
alpha_table(ex_itrf, scales = scales, difficulty = TRUE, values = list(c(0, 3)), RMSEA = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.