View source: R/getWrappedFunction.R
getWrappedFunction | R Documentation |
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.
getWrappedFunction(fn, deepest = FALSE)
fn |
[ |
deepest |
[ |
[function
]
If this function is applied to a simple smoof_function
, the
smoof_function
itself is returned.
addCountingWrapper
, addLoggingWrapper
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.