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 proportion barchart WillP wrote: I am trying to create barcharts of the proportion of people who do art by covariate. I have data like this: art sex 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. Homework hint: table Dieter ________________________________ View message @ http://n4.nabble.com/Simple-proportion-barchart-tp1010643p1010645.html To unsubscribe from Simple proportion barchart, click here < (link removed) tYXRyaXhrbm93bGVkZ2UuY29tfDEwMTA2NDN8LTEwMTkxOTIxOTY=> . 11/1/2010 -------------------------------------------------------------------------------- Health England and Matrix recently launched H.E.L.P (Health England Leading Prioritisation), an interactive on line tool supporting public health professionals and commissioners work in a way that is consistent with ÂWorld Class CommissioningÂ. Visit the website - http://help.matrixknowledge.com/ -------------------------------------------------------------------------------- -- View this message in context: http://n4.nabble.com/Simple-proportion-barchart-tp1010643p1011098.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.