Rem | R Documentation |
Obtain the remainder after division in a manner compatible with GNU Octave/MATLAB.
Rem(x, n)
x , n |
An R object (array, matrix, vector) |
"Return the remainder of the division x / y." Source: Eaton.
Irucka Embry, Samit Basu (FreeMat)
Samit Basu (2002-2006). FreeMat v4.0, https://freemat.sourceforge.net/help/mathfunctions_rem.html.
John W. Eaton, David Bateman, Søren Hauberg, and Rik Wehbring (November 2022). GNU Octave: A high-level interactive language for numerical computations: Edition 7 for Octave version 7.3.0. https://docs.octave.org/octave.pdf. Page 564.
# Example from GNU Octave
library(iemisc)
x <- 23.4
y <- 20
Rem(x, y)
# Please refer to the iemisc: Examples from GNU Octave Rem, Mod, and
# fractdiff Compatible Functions vignette for additional examples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.