Description Usage Arguments Value Examples
Takes an MFA objects and tidy the data into a much easier working format for evaluation
1 2 | tidy_mfa_dim(mfa_res, n = 5, type = c("coord", "cor", "cos2", "contrib")[4],
top_bottom_n = 5)
|
mfa_res |
object of class MFA |
n |
number of dimension to tidy |
type |
metric to tidy |
top_bottom_n |
decide on top n variables in dimension |
Tidy data frame for MFA global PCA results
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library(FactoMineR)
data(wine)
res <- MFA(wine, group=c(2,5,3,10,9,2), type=c("n",rep("s",5)),
ncp=5, name.group=c("orig","olf","vis","olfag","gust","ens"),
num.group.sup=c(1,6))
tidy_mfa_dim(res)
data (poison)
MFA(poison, group=c(2,2,5,6), type=c("s","n","n","n"),
name.group=c("desc","desc2","symptom","eat"),
num.group.sup=1:2)
tidy_mfa_dim(res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.