For those of you who wish to spruce up your RMarkdown with Greek letters and math symbols…

The code used to introduce Greel letters and math symbols in RMarkdown ar derived from LaTeX, a document preparation system for high-quality typesetting. The WikiBooks site, LaTeX/Mathematics provides a large set of commands for rendering Greek letters and math symbols in R.

1. Within lines (commonly referenced as “inline”) -

RMarkdown code enclosed with single dollar signs.

Greek letters alpha and mu:

Superscripts and subscripts:

Some combinations:

2. Centered on line by itself (commonly referenced as “display”) -

RMarkdown code enclosed with double dollar signs.

\[\mu_{concentrator} = \mu_{non-concentrator}\]

\[\mu_{male} - \mu_{female} = 0\]

3. Some Advanced Rendering -