If you have a mathematical formula and the need to have that formula in SVG form, you’ll be delighted by what eqn2svg will let you do. Yes, that formula is nicely converted to an SVG. And you can use that SVG wherever SVGs are accepted.
The package can be easily installed via CRAN:
install.packages("eqn2svg")
You can install the development version of eqn2svg from GitHub with:
# install.packages("devtools")
devtools::install_github("rich-iannone/eqn2svg")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.