latex2exp: Deprecated; use 'TeX' instead.

View source: R/latex2exp.R

latex2expR Documentation

Deprecated; use TeX instead.

Description

Deprecated; use TeX instead.

Usage

latex2exp(string, output = c("expression", "character", "ast"))

Arguments

string

A character vector containing LaTeX expressions. Note that any backslashes must be escaped (e.g. "$\alpha").

output

The returned object, one of "expression" (default, returns a plotmath expression ready for plotting), "character" (returns the expression as a string), and "ast" (returns the tree used to generate the expression).

Value

Returns an expression (see the output parameter).


latex2exp documentation built on Nov. 28, 2022, 9:05 a.m.