latex2r: Translate LaTeX formula to R code.

Description Usage Arguments Value Examples

View source: R/latex2r.R

Description

Take a LaTeX formula and attempts to find an equivalent representation in R. If interactive=TRUE it pops up an interactive REPL that does the same, but interactively.

Usage

1

Arguments

x

string

interactive

boolean

Value

string

Examples

1
latex2r("\\beta_1^{\\frac{x+1}{x^2 \\cdot y}}")

tomicapretto/latex2r documentation built on Sept. 20, 2021, 3:07 p.m.