powered by
Compute coefficient alpha
compute_alpha(sigma = NULL, data = NULL, standardized = FALSE, ...)
Coefficient alpha
Covariance matrix (must be supplied if data argument is not supplied)
Data matrix or data frame (must be supplied if sigma argument is not supplied)
Logical scalar determining whether alpha should be computed from an unstandardized covariance matrix (TRUE) or a correlation matrix (FALSE).
TRUE
FALSE
Additional arguments to be passed to cov() function.
cov()
compute_alpha(sigma = reshape_vec2mat(cov = .4, order = 10))
Run the code above in your browser using DataLab