Re: [R] Calculating Summaries for each level of a Categorical variable

From: Corey Sparks <>
Date: Sat, 26 Jun 2010 07:50:51 -0700 (PDT)

Did you try tapply?

tapply(RT, RT$R, fun=WA)

or something like that

Corey Sparks, PhD
Assistant Professor
Department of Demography and Organization Studies University of Texas at San Antonio
501 West Durango Blvd
Monterey Building 2.270C
San Antonio, TX 78207
corey.sparks 'at'
View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 26 Jun 2010 - 14:54:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 27 Jun 2010 - 07:40:37 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive