> But that strangely doesn't work. I must protest
> the implications of the above. i , as an iterator,
> is supposed take on values from b, but never is it equivalent
> to any of the values in b.
It looks to me like your problem is that your b is a factor, try coercing
it"
b=c("CaseX","CaseY","CaseZ")
b=as.factor(b)
for (i in as.numeric(b)) {print(as.numeric(b)==i);print(i);print(b);}
Rob Baer
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html