Reputation: 203
I'm not sure about the output of the MCA() function in the FactoMineR library in R.
For example I want 10 components, so I'm running the following code:
X1 <- MCA(data, ncp = 10)
Does ncp (which stands for number of dimensions) give me 10 components??
Upvotes: 0
Views: 245
Reputation: 21
npc is the argument in MCA that specifies the number of dimensions you want to store, so when you look at the results or the summary you can see the values (cos2, contrib, etc) for the variables.
Definition you can find by typing ?MCA
in R:
Upvotes: 0