s-news
[Top] [All Lists]

[S] Trellis qqmath labelling

To: s-news@wubios.wustl.edu
Subject: [S] Trellis qqmath labelling
From: "Marc R. Feldesman" <feldesmanm@pdx.edu>
Date: Fri, 23 Apr 1999 08:16:53 -0700
Sender: owner-s-news@wubios.wustl.edu
I've been struggling trying to figure out how to get the proper y-axis
labels for trellises of qqplots.

I have 30 groups, each with 6 variables.  I want to construct trellises
that show the qqplots for each variable conditioned on the groups.  It
isn't difficult to get the trellis plots, but the labelling has turned out
to be problematic.

Here is a simplified function that generates the qqplots conditioned on the
groups.  If I put any text commands (e.g. ylab=names(x)) inside the call to
qqmath(), the trellises simply end up with a y-axis label of "1" on all the
sub-sheets in the graph.  I haven't worked with trellis graphics very much
and I can't find an example in any of my reference material for handling
this particular situation.  What I want is that the y-axis for each of the
6 pages of the graphsheet generated by this function to have the name of
the relevant variable.  Page 1 should have ASB, Page 2, AUB, etc.

What painfully obvious fact am I missing?

 
"qqhowell"<-function()
{
        apply(howtest[, 5:10], 2, function(x)
        {
                qqmath( ~ x | howtest[, 4])
        })
        
}


Dr. Marc R. Feldesman
email:  feldesmanm@pdx.edu
email:  feldesman@ibm.net
fax:    503-725-3905

"Math is hard.  Let's go to the mall"  Barbie

Powered by:  Monstrochoerus - the 300 MHz Pentium II
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>
  • [S] Trellis qqmath labelling, Marc R. Feldesman <=