
Last chance! 50% off unlimited learning
Sale ends in
This function reads a variable coming from a text entry and checks whether it is real or not.It is used internally.
verifyRealEntry(x, noValid = "isNoValid")
The element to check
The output the function will return when the input is not character.
# NOT RUN {
verifyRealEntry("Strawberry", noValid = "isNoValid")
verifyRealEntry(235, noValid = NA)
verifyRealEntry(0235, noValid = NA)
verifyRealEntry(235.6, noValid = NA)
# }
Run the code above in your browser using DataLab