Use LaTeX in R plots with latex2exp
mainThe latex2exp package allows you to use LaTeX syntax in R plots by parsing and converting LaTeX strings into R's native plotmath expressions.
Converted expressions can be used for any part of the R plotting system that accepts mathematical expressions, including:
- Axis labels
- Annotations
- Legends
- Plot titles