getname | R Documentation |
getname runs 'deparse(substitute(x))' to get the name of the input variable. Saves remembering the syntax
getname(x)
x |
any variable whose name is wanted as a character string |
a character string with the name of input variable
## Not run:
a_variable <- c(1,2,3,4,5,6,7,8)
getname(a_variable)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.