Skip to content
Back to formatted view

Raw Message

Message-ID: <alpine.LNX.2.00.1207200937400.21688@salmo.appl-ecosys.com>
Date: 2012-07-20T16:41:54Z
From: Rich Shepard
Subject: cenbox(): Changing Default x-axis Group Labels
In-Reply-To: <CC2ED4C9.A2CE5%macqueen1@llnl.gov>

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 get an error when calling
this method. Will look further and provide more information.

> 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 and y and x are appropriate
> variables in it.

   I will definitely work more on this. Right now I need to get my client to
explain the many discrepancies in the data they sent before I go further
with analyses.

Thanks very much,

Rich