Description Usage Arguments Examples
Tests if x is multiple of a given number
1 | is_multiple(x, of)
|
x |
a numeric object |
of |
a given number |
1 2 3 4 5 | is_multiple(5, of = 5) # TRUE
is_multiple(15, of = 5) # TRUE
is_multiple(3, of = 5) # FALSE
is_multiple(2*pi, of = pi) # TRUE
is_multiple(matrix(1:6, 2, 3), of = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.