check.positiveinteger | R Documentation |
This function checks whether the class of the variable
is numeric
, has length 1 and is a positive integer. If not, an
error message is displayed.
check.positiveinteger(x, name.var)
x |
The variable to be checked. |
name.var |
The name of the variable. |
Nothing is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.