Thank you for your help, I appreciate. I tried your suggestion, but I ended up with hundreds of small graph like I did before (see the file "Ellipse_plot" attached to the first post).
To do the FAMD and get the ellipses, I run the following commands:
res <- FAMD(df)
summary(res)
plot.FAMD(res, choix="var", axes=c(1,2), habillage=1, invisible="quali")
plotellipses(res, keepvar = 1, axis = c(1, 2), means=TRUE, level = 0.95,
magnify = 2, cex = 0.5, pch = 20, pch.means=15, type = c("g","p"),
keepnames = TRUE, namescat = NULL, xlim=xlim, ylim=ylim, lwd=1,
label="all")
You can find an example of the input file that I use, attached to this post.
- Why am I getting hundreds of graphs?
- Should I define supplementary data? Some people have suggested this might be the problem. If so, what line of command should I use to indicate to R which supplementary data to use?
Thank you again!