Re: [R] Simple proportion barchart

2010-01-11 Thread WillP
Thanks Dieter. I had played with it before but was having trouble with it. I seem to be doing better now I have discovered prop.table! Will From: Dieter Menne [via R] [mailto:ml-node+1010645-1539655...@n4.nabble.com] Sent: 10 January 2010 12:00 pm To: Will Parry Subject: Re: [R] Simple

Re: [R] Simple proportion barchart

2010-01-11 Thread Dieter Menne
WillP wrote: > > Thanks Dieter. I had played with it before but was having trouble with > it. > I seem to be doing better now I have discovered prop.table! > Also have look at ctab in package catspec. Dieter -- View this message in context: http://n4.nabble.com/Simple-proportion-barchart-

[R] Simple proportion barchart

2010-01-10 Thread WillP
Hi there, I am trying to create barcharts of the proportion of people who do art by covariate. I have data like this: artsex 0 1 1 0 0 1 0 0 1 1 ...all I want is to create a barchart of proportions who have 1 for art by sex. How do I do th

Re: [R] Simple proportion barchart

2010-01-10 Thread Dieter Menne
WillP wrote: > > I am trying to create barcharts of the proportion of people who do art by > covariate. > I have data like this: > artsex > 0 1 > 1 0 > 0 1 > 0 0 > 1 1 > > ...all I want is to create a barchart of proportions who have 1