Description Usage Arguments See Also Examples
View source: R/chk-composite.R
If null_ok
is TRUE
and x1
is NULL
then the test succeeds.
1 2 3 | chk_multiple_of(x1, x2, name1, name2)
err_multiple_of(x1, x2, name1, name2)
|
x1 |
A scalar. |
x2 |
A scalar. |
name1 |
The name for |
name2 |
The name for |
1 2 3 4 5 6 | x1 <- 10L
x2 <- 2L
chk_multiple_of(x1 = x1,
x2 = x2,
name1 = "x1",
name2 = "x2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.