Skip to content
Prev 77547 / 398502 Next

How to exclude a level from a factor

Problem solved. Thanks a lot for your replies!
[1] a b c
Levels: a b c
[1] a    b    <NA>
Levels: a b

"exclude=" option may not work on factors.
One has to convert the factor to character first.

Qiong
On Tue, 20 Sep 2005, Sundar Dorai-Raj wrote: