Re: [R] how to order variables on correlation plot

2020-11-06 Thread Ana Marija
Thank you! On Fri, Nov 6, 2020 at 1:45 PM David Winsemius wrote: > > Why did you specify a different order parameter if that is not what you > wanted? > > Suggest you look more carefully at the parameters of the code you are copying > and pasting and also at the help page, ?corrplot . > > -- >

Re: [R] how to order variables on correlation plot

2020-11-06 Thread David Winsemius
Why did you specify a different order parameter if that is not what you wanted? Suggest you look more carefully at the parameters of the code you are copying and pasting and also at the help page, ?corrplot . -- David. On 11/6/20 6:08 AM, Ana Marija wrote: > sorry forgot to attach the plot.

Re: [R] how to order variables on correlation plot

2020-11-06 Thread Ana Marija
sorry forgot to attach the plot. On Fri, Nov 6, 2020 at 8:07 AM Ana Marija wrote: > > Hello > > I have data like this: > > > head(my_data) > subjects DIABDUR HBA1C ESRD SEX AGE PHENO C1 C2 > 1 fam0110_G110 38 9.41 2 51 2 -0.01144980 0.002661140 > 2

[R] how to order variables on correlation plot

2020-11-06 Thread Ana Marija
Hello I have data like this: > head(my_data) subjects DIABDUR HBA1C ESRD SEX AGE PHENO C1 C2 1 fam0110_G110 38 9.41 2 51 2 -0.01144980 0.002661140 2 fam0113_G113 30 12.51 2 40 2 -0.00502052 -0.000929061 3 fam0114_G114 23 8.4