verifyIntEntry {KarsTS}R Documentation

verifyIntEntry: verify integer entries

Description

This function reads a variable coming from a text entry and checks whether it is integer or not.It is used internally.

Usage

verifyIntEntry(x, noValid = "isNoValid")

Arguments

x

The element to check

noValid

The output the function will return when the input is not character.

Author(s)

Marina Saez Andreu

Examples


verifyIntEntry("Strawberry", noValid = "isNoValid")
verifyIntEntry(235.6, noValid = NA)
verifyIntEntry(235, noValid = NA)
verifyIntEntry(0235, noValid = NA)
verifyIntEntry(235.0, noValid = NA)


[Package KarsTS version 2.4.1 Index]