str_tex: str_tex

str_texR Documentation

str_tex

Description

Glues its ... argument(s) together, then runs the result through latex2exp::TeX().

Usage

str_tex(..., output = c("expression", "text", "ast"))

Arguments

...

(character) combined via stringr::str_glue().

output

(character) one of "expression", "text", or "ast"; see latex2exp::TeX().

Examples

str_tex("$exp(x^\\beta))$")


BAAQMD/strtools documentation built on Sept. 29, 2024, 9:21 a.m.