kmo | R Documentation |
kmo()
handles both positive definite and not-positive definite matrix by employing the Moore-Penrose inverse (pseudoinverse)
kmo(x, squared = TRUE)
x |
a matrix or dataframe |
squared |
TRUE if matrix is squared (such as adjacency matrices), FALSE otherwise |
A list with
overall
- Overall KMO value
individual
- Individual KMO's dataframe
AIS
- Anti-image Covariance Matrix
AIR
- Anti-image Correlation Matrix
set.seed(123) df <- as.data.frame(matrix(rnorm(100*10, 1, .5), ncol=10)) kmo(df, squared = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.