[R] simple data manipulation question

Bert Gunter gunter.berton at gene.com
Thu Dec 10 19:38:58 CET 2009


... or perhaps simpler is ?ave

Bert Gunter
Genentech Nonclinical Biostatistics
 
 -----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Greg Snow
Sent: Thursday, December 10, 2009 9:48 AM
To: dolar; r-help at r-project.org
Subject: Re: [R] simple data manipulation question

?aggregate

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of dolar
> Sent: Wednesday, December 09, 2009 5:51 PM
> To: r-help at r-project.org
> Subject: [R] simple data manipulation question
> 
> 
> Hi there
> 
> I have a dataframe of a whole lot of variables
> 
> lets say, one of my variables is gender
> how do I simply get an average of all other variables by gender?
> --
> View this message in context: http://n4.nabble.com/simple-data-
> manipulation-question-tp956600p956600.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list