| fun2name {operator.tools} | R Documentation |
fun2name compares a function (body) to all defined functions. If an
identical match is found to a defined function, that function is returned.
NB. This does not search through S4 methods.
fun2name(f) name2fun(x)
f |
function |
x |
name; more specifically, an object to be converted into a name and eval'd
|
name2fun simply converts its argument to a name and than evals it
to produce a function definition
fun2name: character (name of function) name2fun: function