Re: [R] Working with violin plot

2021-03-31 Thread Mahmood Naderan-Tahan
Yes thank you very much. Regards, Mahmood From: Eric Berger Sent: Wednesday, March 31, 2021 11:30:48 AM To: Mahmood Naderan-Tahan Cc: r-help@r-project.org Subject: Re: [R] Working with violin plot Try replacing ggplot(ToothGrowth, ... ) with ggplot(mydata

Re: [R] Working with violin plot

2021-03-31 Thread Eric Berger
Try replacing ggplot(ToothGrowth, ... ) with ggplot(mydata,...) HTH, Eric On Wed, Mar 31, 2021 at 12:20 PM Mahmood Naderan-Tahan < mahmood.nade...@ugent.be> wrote: > Hi > > I would like to use the violin plot as described in the manual [1]. In the > example, I see > > ToothGrowth$dose <- as.fac

Re: [R] Working with violin plot

2021-03-31 Thread Mahmood Naderan-Tahan
Please ignore the previous email... Regards, Mahmood From: R-help on behalf of Mahmood Naderan-Tahan Sent: Wednesday, March 31, 2021 11:19:59 AM To: r-help@r-project.org Subject: [R] Working with violin plot Hi I would like to use the violin plot as

[R] Working with violin plot

2021-03-31 Thread Mahmood Naderan-Tahan
Hi I would like to use the violin plot as described in the manual [1]. In the example, I see ToothGrowth$dose <- as.factor(ToothGrowth$dose) head(ToothGrowth) On the other hand, my data is a csv file containing some rows and numbers. Problem is that the following code doesn't work > mydata <