Description Usage Arguments Details Value Author(s) Examples
Checks if a character string is a valid R variable name using regular expressions.
1 |
... |
(Required) A collection of character vectors to be checked |
A valid R name starts with a letter or a dot followed by a non-numerical character and contains only letters, numbers and dots.
None. The function is simply generates an error if an invalid name is passed to it.
Mike K Smith mstoolkit@googlemail.com
1 2 3 4 5 6 7 | # correct name
validNames("DOSE")
## Not run:
# wrong name
validNames(".334fsedqw")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.