Re: [R] Bug in levels() function?

2008-01-29 Thread Groot, Philip de
PROTECTED] Sent: Mon 28-1-2008 20:03 To: Groot, Philip de Cc: [EMAIL PROTECTED] Subject: Re: [R] Bug in levels() function? This is not a bug; it is deliberately designed this way. There are circumstances when you want to drop levels on subsetting and other circumstances where you don't, so

[R] Bug in levels() function?

2008-01-28 Thread Groot, Philip de
Hello all, I am not sure whether it actually is a bug, but it is not the behaviour I would expect. Please consider this: Sibships [1] Patient_2400 Patient_2400 Patient_345 Patient_345 Patient_8901 [6] Patient_8901 Patient_4008 Patient_4008 Patient_7991 Patient_7991 [11] Patient_8353