Jennifer Dillon wrote: > Hi Everyone, > > I think I found a problem with the ifelse function: If the condition > argument is NA, it treats it as true. Anyone agree or disagree with this? > > Jen I don't see it doing that:
> ifelse(NA,1,0) [1] NA so what do you mean? ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.