README.md

unirel

The goal of unirel is to calculate and compare various unidimensional reliability coefficients.

Installation

You can download and install it from Github using the devtools package:

install.packages("devtools")
devtools::install_github("eunscho/unirel")

Example

The most typical use would be the unirel function comparing 18 reliability coefficients:

library(unirel)
unirel(Graham1)
## compare various unidimensional reliability coefficients

You can also get each coefficient separately.

alpha(Graham1)
## obtain coefficient alpha
joreskog(Graham1)
## obtain composite (congeneric) reliability (unidimensional CFA reliability)
gilmer(Graham1)
## obtain the Gilmer-Feldt coefficient
feldt(Graham1)
## obtain Feldt's classical congeneric reliability
hancock(Graham1)
## obtain Hancock's H (maximal reliability)
heise(Graham1)
## obtain Heise-Borhnstedt's Omega
kaisercaffrey(Graham1)
## obtain Kaiser-Caffrey's alpha
mu2(Graham1)
## obtain Ten Berge and Zegers' mu2
mu3(Graham1)
## obtain Ten Berge and Zegers' mu3
mu4(Graham1)
## obtain Ten Berge and Zegers' mu4

You can test essential tau-equivalence and explore unidimensionality.

test.tauequivalence(Graham1)
## test the assumption of essential tau-equivalence 

Troubleshooting

Sometimes an error message appears.

Error in standardizedsolution(fit) :

The solution is to activate the lavaan package.

library(lavaan)


eunscho/unirel documentation built on Dec. 20, 2021, 6:44 a.m.