R – Paolo Redaelli https://monodes.com/predaelli A civil engineer with a longlife fondness for Software Libero Sun, 23 Oct 2016 21:46:27 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.2 91795679 Mathematical Annotation in R https://monodes.com/predaelli/2016/10/23/mathematical-annotation-in-r/ https://monodes.com/predaelli/2016/10/23/mathematical-annotation-in-r/#respond Sun, 23 Oct 2016 21:46:27 +0000 http://monodes.com/predaelli/?p=1827 Mathematical Annotation in R | Vistat

Want to write mathematical symbols and expressions in R graphics? You can use an R expression() instead of normal text, e.g. plot(1:10, main = expression(alpha + beta)). Below is a demo that shows you everything about plotting math in R (it was written by the R Core Team; see ?plotmath for details):

demo<span class="p">(</span>plotmath<span class="p">)</span>
]]>
https://monodes.com/predaelli/2016/10/23/mathematical-annotation-in-r/feed/ 0 1827