math | R Documentation |
mathout()
Adds the class "math" to the object for knitr output via mathout()
math(term, flags = NULL)
term |
an R call or symbol/number. This function translates term into a LaTeX/MathJax string. |
flags |
(default NULL) list of flags that control the translation |
term with additional class "math" and flags as attributes.
mathml()
, mathjax()
, mathout()
math(term=quote((a + b)^2L == a^2L + 2L*a*b + b^2L))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.