From bxc at steno.dk  Thu Aug 11 17:07:05 2011
From: bxc at steno.dk (BXC (Bendix Carstensen))
Date: Thu, 11 Aug 2011 17:07:05 +0200
Subject: [Rd] Combining levels of factors
Message-ID: <2F73FA3AF524144C863B7C2C903DBC3303001E30E9@exdkmbx002.corp.novocorp.net>

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)
bxc at steno.dk    www.biostat.ku.dk/~bxc
www.steno.dk



[Rd] Combining levels of factors
BXC (Bendix Carstensen