isValidName: Test for syntactically valid names.

Description Usage Arguments Value Syntactic Names

View source: R/util.R

Description

Test for syntactically valid names.

Usage

1

Arguments

x

Test vector.

Value

Logical vector indicating which elements are syntactically valid R names.

Syntactic Names

A syntactically valid R name contains only letters, numbers, dots, and underscores. The name should start with a letter, or a dot that is not followed by a number. In addition, specific reserved words are not permitted. Many R packages and functions automatically render item names syntactically valid, so for example, a phenotype name may be changed when added to an R/qtl cross object. For more information, see the relevant R documentation. See also the base R function make.names.


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.