compute_alpha: Compute coefficient alpha

Description Usage Arguments Value Examples

View source: R/itemize_scales.R

Description

Compute coefficient alpha

Usage

1
compute_alpha(sigma = NULL, data = NULL, standardized = FALSE, ...)

Arguments

sigma

Covariance matrix (must be supplied if data argument is not supplied)

data

Data matrix or data frame (must be supplied if sigma argument is not supplied)

standardized

Logical scalar determining whether alpha should be computed from an unstandardized covariance matrix (TRUE) or a correlation matrix (FALSE).

...

Additional arguments to be passed to cov() function.

Value

Coefficient alpha

Examples

1

psychmeta documentation built on June 1, 2021, 9:13 a.m.