getWrappedFunction {smoof} | R Documentation |
Extract wrapped function.
Description
The smoof package offers means to let a function log its evaluations or even store to points and function values it has been evaluated on. This is done by wrapping the function with other functions. This helper function extract the wrapped function.
Usage
getWrappedFunction(fn, deepest = FALSE)
Arguments
fn |
[ |
deepest |
[ |
Value
[function
]
Note
If this function is applied to a simple smoof_function
, the
smoof_function
itself is returned.
See Also
addCountingWrapper
, addLoggingWrapper
[Package smoof version 1.6.0.3 Index]