R/invariance_alignment_calc_corr.R

Defines functions invariance_alignment_calc_corr

## File Name: invariance_alignment_calc_corr.R
## File Version: 0.03


# auxiliary function for calculation of correlations
invariance_alignment_calc_corr <- function(parsM)
{
    cM <- stats::cor(parsM)
    I <- ncol(cM)
    rbar <- ( sum(cM) - I )/ ( I^2 - I)
    return(rbar)
}

Try the sirt package in your browser

Any scripts or data that you put into this service are public.

sirt documentation built on May 29, 2024, 8:43 a.m.