Re: [R] violin plot help

2017-05-18 Thread Ismail SEZEN
> On 16 May 2017, at 17:06, Abdelrahman, Omar (RER) > wrote: > > I am trying to produce multiple violin plots by 3 categorical variables, each > violin representing 1 year worth of data. The variables are: > > Watershed (7 levels: county canals) > > Geography (5 levels: west; central; east;

Re: [R] violin plot help

2017-05-18 Thread Abdelrahman, Omar (RER)
R ~Wshed, scales="free_y") + geom_violin >(data=subdf, aes(x=Geo~year, y=RESULT, fill=Geo)) > >Do I need to specify "year(date)"; I loaded lubridate? > > >-Original Message- >From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] >Sent: Wednesday, Ma

Re: [R] violin plot help

2017-05-17 Thread Jim Lemon
bdf, aes(x=Geo~year, y=RESULT, fill=Geo)) > > Do I need to specify "year(date)"; I loaded lubridate? > > > -Original Message- > From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] > Sent: Wednesday, May 17, 2017 10:05 AM > To: Abdelrahman, Omar (RER)

Re: [R] violin plot help

2017-05-17 Thread Abdelrahman, Omar (RER)
ate)"; I loaded lubridate? -Original Message- From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] Sent: Wednesday, May 17, 2017 10:05 AM To: Abdelrahman, Omar (RER) Cc: R-help Subject: RE: [R] violin plot help Here is an example that works... a reproducible example always includes code AND

Re: [R] violin plot help

2017-05-17 Thread Abdelrahman, Omar (RER)
day, May 16, 2017 12:30 PM To: Abdelrahman, Omar (RER) ; R-help Subject: RE: [R] violin plot help Please use reply-all or equivalent to keep the list in the conversation. I don't do private online consultation. Your example suggested you did not know the difference, but your error suggest

Re: [R] violin plot help

2017-05-17 Thread Jeff Newmiller
0.31 CD01A Mouth C-100 2/7/2013Phosphorus, Total (TP) 0.004 CD01A Mouth C-100 2/7/2013Chlorophyll-A 0.4 CD02East C-100 2/7/2013Phosphorus, Total (TP) 0.011 CD05Central C-100 2/7/2013Phosphorus, T

Re: [R] violin plot help

2017-05-16 Thread Jeff Newmiller
; and "==" , they work the same in Stata and SAS. > >Omar >-Original Message- >From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] >Sent: Tuesday, May 16, 2017 11:43 AM >To: r-help@r-project.org; Abdelrahman, Omar (RER) >; 'r-help@r-project.org' &

Re: [R] violin plot help

2017-05-16 Thread Jeff Newmiller
Read A) the Posting Guide (re plain text only... your emails may be damaged by the mailing list if you send html-formatted email... only you can solve this by figuring out how to use your email software) B) Help on assignment (?`=`) C) Help on logical tests (?`==`) -- Sent from my phone. Please

[R] violin plot help

2017-05-16 Thread Abdelrahman, Omar (RER)
I am trying to produce multiple violin plots by 3 categorical variables, each violin representing 1 year worth of data. The variables are: Watershed (7 levels: county canals) Geography (5 levels: west; central; east; mouth; bay) Parameter (8 levels: water quality chemical parameters) Year (25