Description Usage Arguments Value Author(s) Examples
Return the name of variable varname
in call match_call
.
1 | getVariableName(match_call, varname)
|
match_call |
An object of class |
varname |
An |
A character
with the name of the variable passed as parameter
varname
in parent close of match_call
.
Laurent Gatto
1 2 3 4 5 | a <- 1
f <- function(x, y)
MSnbase:::getVariableName(match.call(), "x")
f(x = a)
f(y = a)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.