get_results_for_object {trimmer} | R Documentation |
Compute Results From Function Call with Object as Argument
Description
Compute Results From Function Call with Object as Argument
Usage
get_results_for_object(obj, obj_arg_name, fun, ...,
tolerate_warnings = TRUE)
Arguments
obj |
list R object to be trimmed. _MUST_ inherit from the
'list' class.
|
obj_arg_name |
character what is the name of the parameter, that
'obj' must be set to, when invoking 'fun'. Defaults to NULL, in which case
the function assumes, that the 'obj' matches the first parameter of 'fun'.
|
fun |
function function that must return the same results, when
invoked with 'obj' both before and after trimming.
|
... |
other (named) arguments for 'fun'.
|
tolerate_warnings |
logical tolerate warnings (=TRUE) Or
not (=FALSE) from function call results?
|
Value
results from function call.
[Package
trimmer version 0.8.1
Index]