Using ‘nomnoml’ in ‘xaringan’
Author: Andrie de Vries
Date: 2023-03-07

class: center, middle, inverse, title-slide .title[ # Using ‘nomnoml’ in ‘xaringan’ ] .author[ ### Andrie de Vries ] .date[ ### 07 March 2023 ] --- ## Using a nomnoml chunk ```r library(nomnoml) ``` ```nomnoml [Hello]-[World] ``` <div class="nomnoml html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-e2232230a8ea7d586a9b" style="width:504px;height:504px;"></div> <script type="application/json" data-for="htmlwidget-e2232230a8ea7d586a9b">{"x":{"code":"\n#fill: #FEFEFF\n#lineWidth: 1\n#zoom: 4\n#direction: right\n\n[Hello]-[World]","svg":false,"png":null},"evals":[],"jsHooks":[]}</script> --- ## Using an R chunk ```r nomnoml::nomnoml("[Hello]-[World]", svg = TRUE) ``` <div class="nomnoml html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-be9fe17c3c00146580cb" style="width:504px;height:504px;"></div> <script type="application/json" data-for="htmlwidget-be9fe17c3c00146580cb">{"x":{"code":"\n#fill: #FEFEFF\n#lineWidth: 1\n#zoom: 4\n#direction: right\n\n[Hello]-[World]","svg":true,"png":null},"evals":[],"jsHooks":[]}</script>