memoise_fun | R Documentation |
This function provides a simple, logical toggle control on
whether the function fun
should be memoised via
memoise
or not.
memoise_fun(fun, memoise_tf = TRUE)
fun |
Function name to (potentially) be memoised. |
memoise_tf |
|
fun
, memoised if desired.
sum_memo <- memoise_fun(sum)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.