 |
Matlab and R - mathepi.com
Here is an example on how to use the R function xor(): > # R demonstration > x1 - 3 > x2 - 8 > y1 - 9 > y2 - 10 > xor(x1>x2, y1=y2) [1] TRUE The R operators & and | are elementwise and and or operators: > # R demonstration > c(TRUE,TRUE,FALSE,FALSE) & c .
www.mathepi.com |
 |