[R] tapply problem

Robin Hankin r.hankin at auckland.ac.nz
Tue Oct 23 23:28:54 CEST 2001


Hi Petr

many thanks for your help here.
> > 
> If I understood it correctly you need something like that:
> 
>         ID student assessor Q1A  Q1B Q1C Q2A  Q2B Q3
> 1  2152833    Fred    Robin  15 17.0  13  14 13.0  8
> 2  2152833    Fred    Steph  14 13.0  11  16 13.0  8

[deleted].


It worked perfectly (my problem was that I didn't know about the
"aggregate" function). 



kia ora (Maori for "cheers!")


robin

-- 

Robin Hankin, Lecturer,
School of Environmental and Marine Science
Private Bag 92019 Auckland
New Zealand

r.hankin at auckland.ac.nz
tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list