name | R Documentation |
Add a name attribute to an element (most often, an R function)
name(x, name)
x |
an R object, e.g., an R function |
name |
the name of the object/function |
The object with the name attribute
f <- function(x) {sin(x)}
mathjax(call("integrate", name(f, "sin"), 0L, 2L*pi))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.