Re: [R] help with barplot

2011-05-28 Thread steven mosher
Thanks Thomas. On Sat, May 28, 2011 at 11:29 AM, Thomas Levine wrote: > You can do pretty well without ggplot actually. > > boxplot(Time~paste(Incidents,Months),data=DF,border=c('grey20','red')) > > On Sat, May 28, 2011 at 2:55 AM, steven mosher > wrote: > > Thanks, > > > > ggplot is on my

Re: [R] help with barplot

2011-05-28 Thread Thomas Levine
You can do pretty well without ggplot actually. boxplot(Time~paste(Incidents,Months),data=DF,border=c('grey20','red')) On Sat, May 28, 2011 at 2:55 AM, steven mosher wrote: > Thanks, > >  ggplot is on my list of things to learn before Hadley comes here to the > bay area >  to give a session on i

Re: [R] help with barplot

2011-05-27 Thread steven mosher
Thanks, ggplot is on my list of things to learn before Hadley comes here to the bay area to give a session on interactive graphics in R On Fri, May 27, 2011 at 10:29 PM, Joshua Wiley wrote: > Hi Steven, > > This is not, strictly speaking, the answer to your question (hopefully > Tom already a

Re: [R] help with barplot

2011-05-27 Thread Joshua Wiley
Hi Steven, This is not, strictly speaking, the answer to your question (hopefully Tom already answered that). Rather, it is the answer to questions you *might* have asked (and perhaps one of them will be one you wished you had asked). Barplots have a low data:ink ratio...you are using an entire

Re: [R] help with barplot

2011-05-27 Thread Thomas Levine
Does this do it? barplot(t(matrix(pivot$x,4)),beside=T) Tom On Fri, May 27, 2011 at 6:08 PM, steven mosher wrote: > > Hi, > > I'm really struggling with barplot > > I have a data.frame with 3 columns. The first column represents an > "incident" type > The second column represents a "month" > Th