translate_latexmath: Generate latex math in R

Description Usage Arguments Examples

View source: R/translate_latexmath.R

Description

Transform R expression to latex math.

Usage

1
2
3

Arguments

expr,

R expression

Examples

1
2
3
4
5
6
7
8
translate_latexmath(pi)
translate_latexmath(alpha)

# keep the constant as is
translate_latexmath("pi")

# use translate_latexmath_ for quoted object
translate_latexmath_(quote(pi))

yiluheihei/rlatexmath documentation built on Jan. 1, 2021, 1:44 p.m.