Learn R Programming

DMAR (version 1.0.0)

tidy.dmar_reliability: A Reliability Coefficient Estimate

Description

Returns a one-row data.frame in the column convention used by the broom ecosystem (term, estimate, se, ci_lower, ci_upper). The term is the coefficient name ("alpha", "omega", etc.).

Usage

# S3 method for dmar_reliability
tidy(x, ...)

Value

A one-row data.frame.

Arguments

x

A dmar_reliability object returned by any of reliability_alpha, reliability_kr20, reliability_omega, reliability_omega_categorical, or reliability.

...

Unused.

Author

Ken Kelley [email protected]

Examples

Run this code
# Coefficient alpha for the three verbal tests of the Holzinger and
# Swineford battery, from their covariance matrix.
S <- cov(holzinger_swineford[, c("t6_paragraph_comprehension",
                                 "t7_sentence", "t9_word_meaning")])
res <- reliability_alpha(S = S, N = 301, ci_method = "feldt")
generics::tidy(res)
generics::glance(res)

Run the code above in your browser using DataLab