Here is a solution courtesy of of David Smith:
plot(dum,strip=function(...){strip.default(...,style=5)})
Note that both sets of triple dots are necessary.
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Fri, 20 Apr 2001, Anne York wrote:
>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
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
|