how to write mathematical formulas in Graph

Dear Community

please how to write mathematical formulas using the R in the graphs for example normal distribution graph, or any graph

looking forward to receive your suggestion

Welcome to the community!

Please check the documentation of plotmath, which can be accessed using ?plotmath.

I haven't used myself, but you can use latex2exp :package:. It's description says:

Parses and converts LaTeX math formulas to R's plotmath expressions, used to enter mathematical formulas and symbols to be rendered as text, axis labels, etc. throughout R's plotting system.

Hope this helps.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.