Description Usage Arguments Value Author(s) Examples
Functions often get passed variables from within dataframes or other lists. However, printing these names with all their dollar signs isn't very userfriendly. This function simply uses a regular expression to extract the actual name.
1 |
x |
A character vector of one or more variable names. |
The actual variables name, with all containing objectes stripped off.
Gjalt-Jorn Peters
Maintainer: Gjalt-Jorn Peters <gjalt-jorn@userfriendlyscience.com>
1 | extractVarName('mtcars$mpg');
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.