Hi. You could probably use "col.ind.sup" for this task, however factoextra is rather rigid in its properties. I still recommend plain prcomp and finetune biplot with points. Maybe not so fancy as factoextra but you could format points with shape, size, colour to characterise some differences.
Cheers Petr > -----Original Message----- > From: R-help <r-help-boun...@r-project.org> On Behalf Of Mahmood > Naderan-Tahan > Sent: Saturday, March 27, 2021 2:20 PM > To: r-help@r-project.org > Subject: [R] Colorizing different individuals with fviz > > Hi > > I use this command to generate a graph of individuals > > > ind <- get_famd_ind(res.famd) > fviz_famd_ind(res.famd, repel = TRUE) > > > I would like to know how can I specify different colors for different > individuals? > > The colorization is not very complex. Basically, I want to specify rows[1:10] to > be shown in black and rows[11:20] to be shown in red. > > > Any idea about that? > > > 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.
______________________________________________ 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.