[R] logical operators priority

Delphine Fontaine delphine.fontaine at genexion.com
Tue Jul 17 08:59:11 CEST 2007


Dear R-users,

I haven’t found rules for logical operators. I need to select data according
the following rule:
Condition A & (Condition B | Condition C) How should I write it ? Is
Condition A & Condition B | Condition C correct or will R execute (Condition
A & Condition B) | Condition C ?

Thanks for your help.

Delphine Fontaine






Delphine Fontaine
Statistician
Statistics Department - Genexion SA
------------------------------------------------------------
29, Quai du Mont-Blanc
Genva, CH-1201
Switzerland
------------------------------------------------------------
Office: +41 22 704 32 44
Fax:    +41 22 704 32 42
Email: Delphine.Fontaine at genexion.com



More information about the R-help mailing list