| umx_scale_reliabilities | R Documentation |
umx_score_scale() with alpha = TRUE prints reliability coefficients.
umx_scale_reliabilities() collects these across scales, then reports them together.
umx_scale_reliabilities(
action = "show",
scale_name = NULL,
reliability = NULL,
type = NULL,
report = c("markdown", "html"),
digits = 2
)
action |
One of |
scale_name |
Name of the scale (single string, required when |
reliability |
Reliability value (single numeric, required when |
type |
Type of reliability. When |
report |
Format for the printed table: |
digits |
Decimal places for the printed table (default 2). Display only: stored values keep full precision. |
To use, call with "init", score your scales, then call with "show".
invisible data.frame with columns scale, reliability, and type
Other Get and set:
umx,
umx_detect_cores(),
umx_get_checkpoint(),
umx_get_options(),
umx_set_auto_plot(),
umx_set_auto_run(),
umx_set_checkpoint(),
umx_set_condensed_slots(),
umx_set_cores(),
umx_set_data_variance_check(),
umx_set_dollar_symbol(),
umx_set_optimization_options(),
umx_set_optimizer(),
umx_set_plot_file_suffix(),
umx_set_plot_format(),
umx_set_separator(),
umx_set_silent(),
umx_set_table_format()
umx_scale_reliabilities("init") # start with an empty store
umx_scale_reliabilities("add", scale_name = "Agreeableness", reliability = 0.72, type = "alpha")
umx_scale_reliabilities("add", scale_name = "Agreeableness", reliability = 0.75, type = "omega_t")
umx_scale_reliabilities("show")
umx_scale_reliabilities("show", type = "alpha") # just the alphas
umx_scale_reliabilities("init") # clear the store
## Not run:
data(bfi, package = "psychTools")
umx_scale_reliabilities("init")
bfi = umx_score_scale("A", pos = 2:5, rev = 1, max = 6, data = bfi, name = "A", alpha = TRUE)
umx_scale_reliabilities("show")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.