Skip to content
Prev 177324 / 398503 Next

Equivalent to Stata egen

On Apr 16, 2009, at 3:58 PM, Stas Kolenikov wrote:

            
R has a by function which is a convenience wrapper for tapply. It will  
not necessarily produce an object with the same number of rows as the  
input, which is what I thought that egen was doing.
Yes, and Chambers and Hastie wrote "Statistical Models in S".

The VR bundle is the way to get the MASS package (and IIRC three  
others).

The documentation and contributed pages are here:
http://cran.r-project.org/manuals.html
http://cran.r-project.org/other-docs.html

Harrell probably does not think of RMS as an R book either.