Description Usage Arguments Details Value Examples
View source: R/2DLTfunctions.r
Find a function name when the function is passed as an argument into other functions.
1 | fNameFinder(x, fSearchSting = "fName")
|
x |
an R function/method that has not been evaluated. |
fSearchSting='fName' |
function name search string |
The function passed into x the x argument must have the object fSearchSting
within its body. The fSearchSting must be the only code on a line within the function,
but can be placed anywhere in the function body, e.g. fName='f1'
. See examples.
Returns a character string e.g. "fName='f1'" that can be evaluated using
eval(parse(text="fName='f1'")
either outside of a function, see example or within the scope of a function.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.