Skip to content
Prev 387620 / 398502 Next

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