[R] Colorizing different individuals with fviz
drj|m|emon @end|ng |rom gm@||@com
Sat Mar 27 21:19:23 CET 2021
What you have specified can be done with:
depending upon what print function you are using. I suspect that this
may be based on a value in your data. For example, if you want black
for values of some variable up to 10 and red for those over:
On Sun, Mar 28, 2021 at 12:20 AM Mahmood Naderan-Tahan
<mahmood.naderan using ugent.be> wrote:
> 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?
> [[alternative HTML version deleted]]
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help