R/psymet.R
morie_psymet_kmo.Rd
Native Kaiser-Meyer-Olkin sampling adequacy from the partial-correlation anti-image matrix.
morie_psymet_kmo(data)
Numeric matrix or data.frame of items.
list with msa (overall) and named numeric vector items.
msa
items
set.seed(1) f <- rnorm(100) X <- sapply(1:5, function(j) sqrt(0.5) * f + sqrt(0.5) * rnorm(100)) colnames(X) <- paste0("i", 1:5) res <- morie_psymet_kmo(X) res$msa #> [1] 0.8233328