h_partial_fun_args {mmrm} | R Documentation |
Create Partial Functions
Description
Creates partial functions with arguments.
Usage
h_partial_fun_args(fun, ..., additional_attr = list())
Arguments
fun |
( |
... |
Additional arguments for |
additional_attr |
( |
Details
This function add args
attribute to the original function,
and add an extra class partial
to the function.
args
is the argument for the function, and elements in ...
will override the existing
arguments in attribute args
. additional_attr
will override the existing attributes.
Value
Object with S3 class "partial"
, a function
with args
attribute (and possibly more
attributes from additional_attr
).
[Package mmrm version 0.3.15 Index]