Hallo However sometimes it could be easier to fine tune simple biplot function.
fit <- prcomp(iris[,-5]) biplot(fit, col=c("white", "grey"), xlim=c(-.15,.15), ylim=c(-0.05, .05), expand=1) points(fit$x[,1:2]*3, pch=c(17, 19)[as.numeric(iris$Sepal.Length<6)+1], col=c(2,4)[as.numeric(iris$Petal.Length<5)+1], cex=2) box() You could use various pch, col and cex for points. You could annotate points with text function. You could add legends. Cheers. Petr > -----Original Message----- > From: R-help <r-help-boun...@r-project.org> On Behalf Of Sarah Goslee > Sent: Sunday, March 21, 2021 8:30 PM > To: Mahmood Naderan-Tahan <mahmood.nade...@ugent.be> > Cc: r-help@r-project.org > Subject: Re: [R] About fviz_famd_ind() > > The way to start is looking at the help for that function, which includes: > > ... Arguments to be passed to the function fviz() > > so you may have more low-level control through those arguments. If > fviz() itself doesn't do what you want, it also allows you to pass additional > arguments to its lower-level functions. If you go down far enough, you should > be able to control everything. > > Sarah > > On Sun, Mar 21, 2021 at 1:12 PM Mahmood Naderan-Tahan > <mahmood.nade...@ugent.be> wrote: > > > > Hi > > > > I use fviz_famd_ind() from factoextra and I would like to know > > > > 1) How can I decrease the font size? > > > > 2) How to increase max.overlaps? > > > > > > ind <- get_famd_ind(res.famd) > > fviz_famd_ind(res.famd, col.ind = "cos2", > > gradient.cols = c("#00AFBB", "#E7B800", "#FC4E07"), > > repel = TRUE) > > > > > > Regards, > > Mahmood > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > -- > Sarah Goslee (she/her) > http://www.numberwright.com > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.