is.memoised | R Documentation |
memoised = TRUE
, which is what is.memoised()
tests for.Test whether a function is a memoised copy.
Memoised copies of functions carry an attribute
memoised = TRUE
, which is what is.memoised()
tests for.
is.memoised(f)
f |
Function to test. |
memoise
, forget
mem_lm <- memoise(lm)
is.memoised(lm) # FALSE
is.memoised(mem_lm) # TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.