Description Usage Arguments Value Examples
Functions built with reactFunc
can be converted to a normal
version so that you do not need to replicate yourself.
1 | asNormalFunc(f)
|
f |
A function built with |
Return a function having similar behavior with the input function.
1 2 3 4 5 6 7 8 9 | refunc <- reactFunc(ARGV = alist(x = , y = ),
ans = a() * b(),
a = x + 1,
b = y - 3,
ret = ans()
)
normfunc <- asNormalFunc(refunc)
normfunc
identical(refunc(6,9), normfunc(6,9))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.