[R] if one of 4 conditions is not satisfied

mysimbaa adel.tekari at sisltd.ch
Tue Jul 1 14:40:35 CEST 2008


I'm trying to do realize the following:
I have 4 condtions.
If all conditions are satisfied I will paste("PASS")
If any of these is not satisfied I will paste("FAIL"). But I have to paste
the corresponding failure.

ifelse is a good solution but for a 2 conditions. Maybe switch or something
like this.

Does anyone have an idea how to do?

Thanks in advance.
Adel
-- 
View this message in context: http://www.nabble.com/if-one-of-4-conditions-is-not-satisfied-tp18214194p18214194.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list