getname {MQMF} | R Documentation |
getname returns the name of a variable as character
Description
getname runs 'deparse(substitute(x))' to get the name of the input variable. Saves remembering the syntax
Usage
getname(x)
Arguments
x |
any variable whose name is wanted as a character string |
Value
a character string with the name of input variable
Examples
a_variable <- c(1,2,3,4,5,6,7,8)
getname(a_variable)
[Package MQMF version 0.1.5 Index]