Parse a text label to produce expressions for plotmath.

parse_format()

Value

a function with single parameter x, a character vector, that returns a list of expressions

See also

plotmath()

Examples

parse_format()(c("alpha", "beta", "gamma"))
#> [[1]] #> expression(alpha) #> #> [[2]] #> expression(beta) #> #> [[3]] #> expression(gamma) #>