The existing relevel() function in "stats" could conveniently be replaced with 
the
Relevel() from the "Epi" package, which gives some added functionality:

- Moving more than one level up first
- Allowing to combine levels of factors

This functionality is not something specific for epidemiology.

The existing relevel is (almost literally) a subset of Relevel().

b.r.
Bendix
_________________________________________

Bendix Carstensen
Senior Statistician
Steno Diabetes Center A/S
Niels Steensens Vej 2-4
DK-2820 Gentofte
Denmark
+45 44 43 87 38 (direct)
+45 30 75 87 38 (mobile)
b...@steno.dk    www.biostat.ku.dk/~bxc
www.steno.dk

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to