Description Usage Arguments Examples
View source: R/chk-composite.R
chk_multiple_of_n
differs from
chk_multiple_of
only in the
error message. chk_multiple_of_n
refers
to the value of n
, rather than to the
variable "n"
.
1 2 3 | chk_multiple_of_n(x, name, n)
err_multiple_of_n(x, name, n)
|
x |
A scalar. |
name |
The name for |
n |
A scalar. |
1 2 3 | x <- 10L
n <- 2L
chk_multiple_of_n(x = x, n = n, name = "x")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.