Thursday, March 12, 2009

R operators

x + y
x - y
x * y
x / y
x ^ y
x %% y
x %/% y

> 4 %% 2
[1] 0
> 4 %% 2
[1] 0
> 4 %/% 2
[1] 2
> 5 %/% 2
[1] 2

No comments: