Re: [R] cenbox(): Changing Default x-axis Group Labels

2012-07-20 Thread MacQueen, Don
Hi Rich, I don't have a cenbox() function that I can find, but your solution will (probably? hopefully?) be along the lines of: foo - boxplot( y ~ x, data=sdf, plot=FALSE) foo$names - ifelse(foo$names, Label for TRUE, Label for FALSE) bxp(foo) where sdf is a dataframe containing your data

Re: [R] cenbox(): Changing Default x-axis Group Labels

2012-07-20 Thread Rich Shepard
On Fri, 20 Jul 2012, MacQueen, Don wrote: I don't have a cenbox() function that I can find, but your solution will (probably? hopefully?) be along the lines of: Don, Well, I must have mis-typed that although I'm sure I read about it in the NADA.pdf or Dennis' book. I'll look again. I don't

Re: [R] cenbox(): Changing Default x-axis Group Labels

2012-07-20 Thread Peter Ehlers
On 2012-07-20 09:41, Rich Shepard wrote: On Fri, 20 Jul 2012, MacQueen, Don wrote: I don't have a cenbox() function that I can find, but your solution will (probably? hopefully?) be along the lines of: Don, Well, I must have mis-typed that although I'm sure I read about it in the

Re: [R] cenbox(): Changing Default x-axis Group Labels

2012-07-20 Thread Rich Shepard
On Fri, 20 Jul 2012, Peter Ehlers wrote: Well, You didn't say (in your original request) that you were using the NADA package. The function is cenboxplot() and it's just a wrapper for boxplot() and hence passes arguments to boxplot(). Thus the solution to your problem is just to add the

Re: [R] cenbox(): Changing Default x-axis Group Labels

2012-07-19 Thread John Kane
Code? Sample data? John Kane Kingston ON Canada -Original Message- From: rshep...@appl-ecosys.com Sent: Wed, 18 Jul 2012 14:30:24 -0700 (PDT) To: r-help@r-project.org Subject: [R] cenbox(): Changing Default x-axis Group Labels I've looked at the lattice book and the 'R

[R] cenbox(): Changing Default x-axis Group Labels

2012-07-18 Thread Rich Shepard
I've looked at the lattice book and the 'R Graphics Cookbook' without seeing how to change the labels along the x axis for groups in a box plot, specifically cenbox(). The attached example has a main and axes labels with default group labels. Please point me to a reference on how I can