powered by
Rreturns the remainder after division of a by b, where a is the dividend and b is the divisor. This function is often called the remainder operation. The rem function follows the convention that rem(a,0) is NaN.
a
b
rem
rem(a,0)
NaN
rem(a, b)
The remainder
the dividend
the divisor
Waldir Leoncio
rem(23, 5) rem(1:5, 3) rem(c(-4, -1, 7, 9), 3) #FIXME rem(c(0, 3.5, 5.9, 6.2, 9, 4 * pi), 2 * pi)
Run the code above in your browser using DataLab