This function estimates a pairwise polychoric correlation matrix using the mclapply function in the paralell packages. Note windows machines are unable to do paralell processing using forking. See package snow for more options.
1 | Polycor.matrix(dat, n.cores = 1)
|
dat |
A dataset of ordered categorical data |
n.cores |
The number of cores to use. See function detectCores(). default = 1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.