s-news
[Top] [All Lists]

plotting a grouped data object

To: S News <s-news@wubios.wustl.edu>
Subject: plotting a grouped data object
From: Anne York <york@noaa.gov>
Date: Fri, 20 Apr 2001 08:24:40 -0700 (PDT)
Reply-to: Anne York <anne.york@noaa.gov>
dum is a grouped data object:

>dum_groupedData(g.c~glg.num|new.id,outer=~mean.age,data=dentine)
>class(dum)
[1] "nfnGroupedData"  "nfGroupedData"    "groupedData"     "data.frame"

When I execute the the command plot(dum), I get a beautiful plot of g.c vs
glg.num for each subject. Just what I want. But when I try to change the
strip, I get the following:

>plot(dum,strip=strip.default(...,style=5))
Error: "..." used in a context where it doesn't exist: strip.default(...,
style = 5)

But issuing the strip.default command without the defaults results in
another  error: 

>plot(dum,strip=strip.default(style=5))
Error in strip.default: Argument "which.panel" is missing, with no default:

Any ideas what I'm doing wrong?

Anne


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anne E. York
National Marine Mammal Laboratory
Seattle WA 98115-0070  USA
e-mail: anne.york@noaa.gov
Voice: +1 206-526-4039
Fax: +1 206-526-6615
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


<Prev in Thread] Current Thread [Next in Thread>