| check_integer_scalar | R Documentation |
Checks that x is a single finite value coercible to integer and
at least min.val. Used by forced-choice sim.data.*
functions to validate N.person, N.block, I.block,
and D.
check_integer_scalar(x, name, min.val = 1L)
x |
Value to check. |
name |
Parameter name (used in the error message). |
min.val |
Minimum allowed value (default 1L). |
as.integer(x) on success; raises an error otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.