wikisym2plotmath_: Convert One Wiki Symbol to Plotmath

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

Converts one wiki symbol to plotmath. A Wiki symbol is simple text with arbitrarily nested subscript (_) and superscript (^) groupings. Use dot (.) to explicitly terminate a grouping, and use backslash-dot (\.) for a literal dot. Examples: V_c./F. Trailing dots need not be supplied. Leading/trailing whitespace is removed. Tab character not allowed.

Usage

1

Arguments

x

character

...

ignored

Value

expression

See Also

Other formatters: diag_label, wikisym2plotmath

Examples

1
2
3
4
wikisym2plotmath_('V_c./F')
wikisym2plotmath_('AUC_ss')
wikisym2plotmath_('C_max_ss')
wikisym2plotmath_('var^eta_j')

Example output

expression(V[c]/F)
expression(AUC[ss])
expression(C[max[ss]])
expression(var^{
    eta[j]
})

metaplot documentation built on May 1, 2019, 10:17 p.m.