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

Corey Sparks corey.sparks at UTSA.EDU
Sat Jun 26 16:50:51 CEST 2010


Did you try tapply?
?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
210-458-3166
corey.sparks 'at' utsa.edu
https://rowdyspace.utsa.edu/users/ozd504/www/index.htm
-- 
View this message in context: http://r.789695.n4.nabble.com/Calculating-Summaries-for-each-level-of-a-Categorical-variable-tp2269349p2269444.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list