Carlos Alzola wrote:
(much deleted)
> > pointed me to several examples in Azola and Harrell at
> ^^^^^
>
> that is Alzola, please.
>
> (more deleted)
>
> Since you alredy have a list of the levels you don't want in the factor, my
> own
> preference would be
>
> x1 <- factor(x,exclude=c( ... your list ..))
> df1 <- df[!is.na(x1),]
>
> Regards
>
> Carlos Alzola
> calzola@apa.com
--
Dr. M. Henry H. Stevens
Postdoctoral Associate
Department of Ecology, Evolution, & Natural Resources
14 College Farm Road
Cook College, Rutgers University
New Brunswick, NJ 08901-8551
email: hstevens@rci.rutgers.edu
phone: 732-932-9631
fax: 732-932-8746
|