verifyRealEntry: verifyRealEntry: verify character entries

Description Usage Arguments Author(s) Examples

View source: R/verifyRealEntry.R

Description

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

Usage

1
verifyRealEntry(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

1
2
3
4
verifyRealEntry("Strawberry", noValid = "isNoValid")
verifyRealEntry(235, noValid = NA)
verifyRealEntry(0235, noValid = NA)
verifyRealEntry(235.6, noValid = NA)

KarsTS documentation built on Jan. 16, 2021, 5:07 p.m.