is_valid_name: Check if Name is Valid

is_valid_nameR Documentation

Check if Name is Valid

Description

Checks character vector to see if elements follow the rules of heRomod2 variable names, which must start with a letter and include only letters, numbers, and underscores.

Usage

is_valid_name(x)

Arguments

x

character vector of names to check

Value

logical vector indicating whether the elements of 'x' are valid.


jrdnmdhl/heRomod2 documentation built on June 29, 2023, 8:43 p.m.