| latex2ast | R Documentation |
Runs the same scanning and parsing pipeline used by latex2r(), but
returns the parsed abstract syntax tree instead of the R translation.
Useful for debugging formulas and for tooling that wants to inspect the
structure recognized by the parser.
latex2ast(x)
x |
string |
An Expr object, or NULL (invisibly) when the formula can't be scanned.
latex2ast("\\beta_1^{2}")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.