genCA | R Documentation |
genCA
: Implements
Generalized Correspondence Analysis with choice of
row and column metrics and choice of row and column centers.
genCA( X, nfact = 3, normalize.X = TRUE, r.metric = NULL, c.metric = NULL, r.center = NULL, c.center = NULL )
X |
an I by J data table suitable for correspondence analysis. |
nfact |
(Default: 3) number of factors to keep. |
normalize.X |
(Default: |
r.metric |
(Default: |
c.metric |
(Default: |
r.center |
(Default: |
c.center |
(Default: |
The current version is not optimized for
computational efficiency and uses the
general SVD function ExPosition::genPDQ()
.
A list with 1) $fi
: the row factor scores, 2)
2) $fj
: the columns factor scores.
Herve Abdi
# Use the colorOfMusic Example from PTCA4CATA data(colorOfMusic) resCA <- genCA(colorOfMusic$contingencyTable) # gives a standard CA of these data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.