Description Usage Arguments Author(s) Examples
View source: R/verifyIntEntry.R
This function reads a variable coming from a text entry and checks whether it is integer or not.It is used internally.
1 | verifyIntEntry(x, noValid = "isNoValid")
|
x |
The element to check |
noValid |
The output the function will return when the input is not character. |
Marina Saez Andreu
1 2 3 4 5 | verifyIntEntry("Strawberry", noValid = "isNoValid")
verifyIntEntry(235.6, noValid = NA)
verifyIntEntry(235, noValid = NA)
verifyIntEntry(0235, noValid = NA)
verifyIntEntry(235.0, noValid = NA)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.