Re: [R] group means: split and unsplit

From: Liaw, Andy <andy_liaw_at_merck.com>
Date: Sat 25 Jun 2005 - 12:25:27 EST


I didn't quite understand what you were looking for, but you may want to check out ave()...

Andy

> From: Thomas Davidoff
>
> Took me a while but I figured out how to put in common values of
> group means/counts, etc. to do the same thing as egen. lapply with
> split and then unsplit.
> Thomas Davidoff
> Assistant Professor
> Haas School of Business
> UC Berkeley
> Berkeley, CA 94720
> phone: (510) 643-1425
> fax: (510) 643-7357
> davidoff@haas.berkeley.edu
> http://faculty.haas.berkeley.edu/davidoff
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jun 25 12:29:50 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:02 EST