math {mathml}R Documentation

Adds the class "math" to the object for knitr output via mathout()

Description

Adds the class "math" to the object for knitr output via mathout()

Usage

math(term, flags = NULL)

Arguments

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

Value

term with additional class "math" and flags as attributes.

See Also

mathml(), mathjax(), mathout()

Examples

math(term=quote((a + b)^2L == a^2L + 2L*a*b + b^2L))

[Package mathml version 1.2 Index]