Skip to content
Back to formatted view

Raw Message

Message-ID: <4A1DA062.3000506@gmx.net>
Date: 2009-05-27T20:19:46Z
From: Stefan Grosse
Subject: Factor level with no cases shows up in a plot
In-Reply-To: <CF736B65E2E03F42A197473E43E074A20529DDCA@w23-7928.nwrel.org>

Arthur Burke wrote:
>  
> ...  I get the four lines that I expected but the legend includes the
> Group level "cohort 4" .
>  
> How can I get rid of "cohort 4" in Group?
>   

This link might be of interest for you:
http://wiki.r-project.org/rwiki/doku.php?id=tips:data-manip:drop_unused_levels

hth
Stefan