Re: [R] How to color boxplots with respect to the variable names

2022-05-29 Thread Neha gupta
Thank you so much Jim for your help. Best regards On Monday, May 30, 2022, Jim Lemon wrote: > Hi Neha, > As you have a distinguishing feature in the variable names, here is > one way to do it: > > RF<- c(4.7, 1.52, 1.46, 4.5, 0.62, 1.12) > RF_LOO<- c(5.2, 1.52, 1.44, 4.3, 0.64, 1.11) >

Re: [R] How to color boxplots with respect to the variable names

2022-05-29 Thread Jim Lemon
Hi Neha, As you have a distinguishing feature in the variable names, here is one way to do it: RF<- c(4.7, 1.52, 1.46, 4.5, 0.62, 1.12) RF_LOO<- c(5.2, 1.52, 1.44, 4.3, 0.64, 1.11) RF_boot<- c(5.8, 1.5, 1.23, 4.3, 0.64, 1.12) Ranger<- c(4.5, 1.57, 1.25, 3.75, 0.56, 1.09) Ranger_LOO<- c(5, 1.56,

[R] How to color boxplots with respect to the variable names

2022-05-29 Thread Neha gupta
I have the following data and I need to use a boxplot which displays the variables (RF, Ranger, SVM, KNN) with one color, variables (RF_boot, Ranger_boot, SVM_boot, KNN_boot) with another color and the variables (RF_LOO, SVM_LOO, Ranger_LOO, KNN_LOO) with another color. How can I do that?