Learn R Programming

rapport (version 0.51)

guess.input.name: Input Name Validation

Description

Checks rapport input naming conventions: input names should start with a letter, followed either by a letter or a digit, while the words should be separated with dots or underscores.

Usage

guess.input.name(x, min.size = 1L, max.size = 30L, ...)

Arguments

x
a character vector to test names
min.size
an integer value that indicates minimum name length
max.size
an integer value that indicates maximum name length
...
additional arguments to be passed to grepl function

Value

  • a logical vector indicating which values satisfy the naming conventions