[Rd] Combining levels of factors
BXC (Bendix Carstensen)
bxc at steno.dk
Thu Aug 11 17:07:05 CEST 2011
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().
Steno Diabetes Center A/S
Niels Steensens Vej 2-4
+45 44 43 87 38 (direct)
+45 30 75 87 38 (mobile)
bxc at steno.dk www.biostat.ku.dk/~bxc
More information about the R-devel