# Return the Cronbach alpha and 95% ci for two scales.
# The first scale, named `x`, is identified by all items beginning with `x_`.
# The second scale, named `y`, is identified by the consecutive items from `y_1` to `y_10`.
cronbach(test_psychometrics,
x = starts_with('x'),
y = y_1:y_10)
Run the code above in your browser using DataLab