is.varname {lazy.tools} | R Documentation |
Check if the argument is a valid variable name
is.varname(A)
A |
Input string vector or list |
varname is a string starting with [:alpha:]
or .
and having no [:punct:]
except .
or _
.
A logical vector
is.varname( c("and2","age_1_x","a.1","a_1.","1.","_a",".a") )