powered by
Add a name attribute to an element (most often, an R function)
name(x, name)
The object with the name attribute
an R object, e.g., an R function
the name of the object/function
f <- function(x) {sin(x)} mathjax(call("integrate", name(f, "sin"), 0L, 2L*pi))
Run the code above in your browser using DataLab