David, thanks, I think that should work perfectly Much obliged
> > > dfrm <- expand.grid(A=1:3, B=1:3) > > dfrm$counts <- 1:9 > > xtabs(counts~A, data=dfrm) > A > 1 2 3 > 12 15 18 > > >barplot(xtabs(counts~A, data=dfrm), xlab="Counts by A level") > > -- > > David Winsemius, MD > West Hartford, CT > > ______________________________________________ > r-h...@r-project.org mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ 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.