| Curry | R Documentation |
Thanks, Byron Ellis; and Aaron McDaid modified it to preserve names across invocation.
Curry(FUN, ...)
FUN |
the function to be curried |
... |
the determining parameters |
https://stat.ethz.ch/pipermail/r-devel/2007-November/047318.html
A new function partially determined
double <- Curry(`*`, e1=2)
stopifnot(double(4) == 8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.