funcOrExp {iteremoval} | R Documentation |
Evaluating a function or expression by the type of
method
.
funcOrExp(method, ...)
method |
if the class of method is "character", regarding method as a
function and evaluating |
... |
arguments passed onto method if the class of method is "character" or "function". |
Evaluated result.
funcOrExp(sample, 5) funcOrExp('sample', 5) funcOrExp(parse(text='sample(5)'))