Description Usage Arguments Value Examples
View source: R/functionToString.R
Convert a function body to a string
1 |
f |
the function |
a string representation of the function
1 2 3 4 5 6 | function.toString(function(x,y) x+5*y)
# x+5*y
function.toString(function(x) sin(x))
# sin(x)
function.toString(sin)
# sin
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.