mod {clim.pact} | R Documentation |
Returns the modulus of a division: returns the remainder of the expression x/y.
mod(x,y)
x |
nominator (integer). |
y |
denominator (integer). |
integer value from 0 .. (y-1)
R.E. Benestad
mod(101,10) # 1 mod(4,12) # 4 mod(123,12) # 3