[R] Colorizing different individuals with fviz

Mahmood Naderan-Tahan m@hmood@n@der@n @end|ng |rom ugent@be
Sat Mar 27 14:19:48 CET 2021


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]]



More information about the R-help mailing list