I've used the one in car with no problems. For grouping a continuous variable you might also consider cut.
On 11/06/07, David Scott <[EMAIL PROTECTED]> wrote: > > I want to do some recoding of variables: code Age into groups and recode a > factor into a smaller number of levels. > > There are a couple of options for recode functions, in the car package and > in memisc, and I think in gmisc. > > Does anyone have any opinions on the the easiest, most reliable approach > for these problems? > > David Scott > > _________________________________________________________________ > David Scott Department of Statistics, Tamaki Campus > The University of Auckland, PB 92019 > Auckland 1142, NEW ZEALAND > Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000 > Email: [EMAIL PROTECTED] > > Graduate Officer, Department of Statistics > Director of Consulting, Department of Statistics > > ______________________________________________ > 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 > and provide commented, minimal, self-contained, reproducible code. > -- ================================= David Barron Said Business School University of Oxford Park End Street Oxford OX1 1HP ______________________________________________ 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 and provide commented, minimal, self-contained, reproducible code.