David Lillis

Senior Academic Manager in New Zealand Institute of Sport and Director of Sigma Statistics and Research Ltd. Author of the book: R Graph Essentials.

Quick start with R: Mathematical expressions for graphs (Part 22)

In Blog 22, let’s see how to create mathematical expressions for your graph. Mathematical expressions on graphs are made possible through expression(paste()) and substitute(). If you need mathematical expressions as axis labels, switch off the default axes and include Greek symbols by writing them out in English. You can create fractions through the frac() command. …