runClassical {PROsetta}R Documentation

Run CTT-based reliability analysis

Description

runClassical is a function for performing a Classical Test Theory (CTT) based reliability analysis.

Usage

runClassical(data, omega = FALSE, scalewise = TRUE, ...)

Arguments

data

a PROsetta_data object. See loadData for loading a dataset.

omega

if TRUE, also obtain McDonald's omega using omega in psych package. (default = FALSE)

scalewise

if TRUE, run analysis for each instrument as well as for the combined instrument. If FALSE, run analysis only for the combined instrument. (default = TRUE)

...

additional arguments to pass onto omega.

Value

runClassical returns a list containing reliability analysis results.

Examples

out_alpha <- runClassical(data_asq)
out_omega <- runClassical(data_asq, omega = TRUE) # also obtain omega


[Package PROsetta version 0.4.1 Index]