Re: [R] Colorizing contribution of variables

2021-03-21 Thread Mahmood Naderan-Tahan
Regards, Mahmood From: Sarah Goslee Sent: Sunday, March 21, 2021 8:26:55 PM To: Mahmood Naderan-Tahan Cc: r-help@r-project.org Subject: Re: [R] Colorizing contribution of variables Hi, I am going to assume that you are using factoextra, and are working the exampl

Re: [R] Colorizing contribution of variables

2021-03-21 Thread Sarah Goslee
Hi, I am going to assume that you are using factoextra, and are working the example from the function in question, but it would be useful for you to explicitly state that when you're asking a question about a particular package and function. When you choose the argument "contrib" the colors are b

[R] Colorizing contribution of variables

2021-03-21 Thread Mahmood Naderan-Tahan
Hi I use the following function to plot the variables with their contributions. fviz_famd_var(res.famd, "quanti.var", col.var = "contrib", gradient.cols = c("#00AFBB", "#E7B800", "#FC4E07"), repel = TRUE) The result can be seen at https://i.stack.imgur.com/Kbq1j.png