{"id":1827,"date":"2016-10-23T23:46:27","date_gmt":"2016-10-23T21:46:27","guid":{"rendered":"http:\/\/monodes.com\/predaelli\/?p=1827"},"modified":"2016-10-23T23:46:27","modified_gmt":"2016-10-23T21:46:27","slug":"mathematical-annotation-in-r","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2016\/10\/23\/mathematical-annotation-in-r\/","title":{"rendered":"Mathematical Annotation in R"},"content":{"rendered":"<p><em><a href=\"http:\/\/vis.supstat.com\/2013\/04\/mathematical-annotation-in-r\/\">Mathematical Annotation in R | Vistat<\/a><\/em><\/p>\n<blockquote><p>Want to write mathematical symbols and expressions in R graphics? You can use an R <code class=\"\" data-line=\"\">expression()<\/code> instead of normal text, e.g. <code class=\"\" data-line=\"\">plot(1:10, main = expression(alpha + beta))<\/code>. Below is a demo that shows you everything about plotting math in R (it was written by the R Core Team; see <code class=\"\" data-line=\"\">?plotmath<\/code> for details):<\/p><\/blockquote>\n<div class=\"highlight\">\n<blockquote>\n<pre><code class=\"\" data-line=\"\">demo&lt;span class=&quot;p&quot;&gt;(&lt;\/span&gt;plotmath&lt;span class=&quot;p&quot;&gt;)&lt;\/span&gt;<\/code><!--more-->\n<a href=\"http:\/\/vis.supstat.com\/2013\/04\/mathematical-annotation-in-r\/\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/10\/plotmath1.png?w=910\" alt=\"\" \/><\/a><a href=\"http:\/\/vis.supstat.com\/2013\/04\/mathematical-annotation-in-r\/\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/10\/plotmath2.png?w=910\" alt=\"\" \/><\/a><a href=\"http:\/\/vis.supstat.com\/2013\/04\/mathematical-annotation-in-r\/\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/10\/plotmath3.png?w=910\" alt=\"\" \/><\/a><a href=\"http:\/\/vis.supstat.com\/2013\/04\/mathematical-annotation-in-r\/\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/10\/plotmath4.png?w=910\" alt=\"\" \/><\/a><a href=\"http:\/\/vis.supstat.com\/2013\/04\/mathematical-annotation-in-r\/\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/10\/plotmath5.png?w=910\" alt=\"\" \/><\/a><\/pre>\n<\/blockquote>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">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&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2016\/10\/23\/mathematical-annotation-in-r\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[72],"tags":[131],"class_list":["post-1827","post","type-post","status-publish","format-standard","hentry","category-documentations","tag-r"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-tt","jetpack-related-posts":[{"id":11883,"url":"https:\/\/monodes.com\/predaelli\/2024\/08\/28\/python-shared-memory-in-multiprocessing\/","url_meta":{"origin":1827,"position":0},"title":"Python Shared Memory in Multiprocessing","author":"Paolo Redaelli","date":"2024-08-28","format":false,"excerpt":"Python Shared Memory in Multiprocessing np_array's size=220.0MB With SharedMemory: ... Current memory usage 0.11283MB; Peak: 0.156706MB Time elapsed: 0.99s No SharedMemory: ... Current memory usage 0.026587MB; Peak: 467.558995MB Time elapsed: 5.48s I think I shall go for shared memory! My Amiga formation years requires it! Python Shared Memory in Multiprocessing\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/monodes.com\/predaelli\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9051,"url":"https:\/\/monodes.com\/predaelli\/2022\/01\/06\/manim-or-animatic-math\/","url_meta":{"origin":1827,"position":1},"title":"Manim, or animatic math","author":"Paolo Redaelli","date":"2022-01-06","format":false,"excerpt":"Have you ever wondered how the author of 3Blue1Brown created his fantastic videos where he explains the beauties of mathematics? He wrote his own animation program and released it as free sw! Manim A community maintained Python library for creating mathematical animations. https:\/\/github.com\/3b1b\/manim","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/monodes.com\/predaelli\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5939,"url":"https:\/\/monodes.com\/predaelli\/2019\/09\/08\/il-primo-asado-ditalia-il-primo-post-del-blog-t-o-m-m-a-s-o-f-a-r-i-n-a\/","url_meta":{"origin":1827,"position":2},"title":"Il primo asado d&#8217;Italia, il primo post del blog&#8230; &#8211; T O M M A S O F A R I N A","author":"Paolo Redaelli","date":"2019-09-08","format":false,"excerpt":"Non posso non riportare qui, nel mio piccolo angolino il nuovo diario di Tommaso (mio cugino di secondo grado)! Il primo asado d'Italia, il primo post del blog... - T O M M A S O F A R I N A Ragazzi, dopo anni torno al blogging, con un\u2026","rel":"","context":"In &quot;Food&quot;","block_context":{"text":"Food","link":"https:\/\/monodes.com\/predaelli\/category\/food\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1749,"url":"https:\/\/monodes.com\/predaelli\/2016\/09\/05\/owncloud-on-docker-in-10-steps\/","url_meta":{"origin":1827,"position":3},"title":"Owncloud on docker in 10 steps","author":"Paolo Redaelli","date":"2016-09-05","format":"link","excerpt":"Yea, there is a docker image: https:\/\/hub.docker.com\/r\/l3iggs\/owncloud\/ Literally, it is like 10 commands to get your firewall setup, let's encrypt setup and have an accessible HTTPS owncloud instance.... it is amazeballs - best of luck","rel":"","context":"In &quot;Software Libero&quot;","block_context":{"text":"Software Libero","link":"https:\/\/monodes.com\/predaelli\/category\/software\/software-libero\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6922,"url":"https:\/\/monodes.com\/predaelli\/2020\/03\/20\/iniziare\/","url_meta":{"origin":1827,"position":4},"title":"Iniziare","author":"Paolo Redaelli","date":"2020-03-20","format":false,"excerpt":"https:\/\/www.facebook.com\/genitoridiruolo\/videos\/830388170792446\/?tn=%2CdkCH-R-R&eid=ARAnjoWCKUPRaEHI5cLy0xaJndlmCvpz7_fk72JeNidfuf--6Z_mV-7UlOuQJC_5V4TkDpRfuRCfOE0g&hc_ref=ARRAE_eCRBWyN9QyUH5gpJ33BVKZEaJxdAd--7q3lJkxFevB4rBs5la4icxqsMdVD4Q&fref=nf&hc_location=group Ecco, anche a me piacerebbe iniziare a giocare di ruolo in famiglia, con mia moglie e le mie figlie. Mi consigliano B11 King's festival, B3 il palazzo della principessa d'argento, Klotos. Vedremo...","rel":"","context":"In &quot;Fun&quot;","block_context":{"text":"Fun","link":"https:\/\/monodes.com\/predaelli\/category\/fun\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6285,"url":"https:\/\/monodes.com\/predaelli\/2019\/11\/30\/ne-ho-ancora-molti\/","url_meta":{"origin":1827,"position":5},"title":"Ne ho ancora molti","author":"Paolo Redaelli","date":"2019-11-30","format":false,"excerpt":"Mondiversi It's a Different World\u00a0mi ricorda che ho ancora molti, molti libri fantasy da leggere: Nella guida originale del Dungeon Master per AD&D Gary Gygax fa un elenco di autori e opere che hanno ispirato il suo lavoro. E voi li avete letti tutti? Anderson, Poul: THREE HEARTS AND THREE\u2026","rel":"","context":"In &quot;Fantasy&quot;","block_context":{"text":"Fantasy","link":"https:\/\/monodes.com\/predaelli\/category\/fantasy\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2019\/11\/78416290_3819920511367495_6445814646422110208_n-238x300-1.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/1827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=1827"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/1827\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=1827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=1827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=1827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}