Add definitions to acronyms
glossarize.RdUses the glossary to make tooltip definitions
Arguments
- x
(chr)to add tooltips too- as_text
(lgl)if x is for a tooltip or otherwise needs to be plain text - a definition will be inserted as follows:ACRONYM (DEFINITION)since nested tooltips do not render- .glossary
tblof glossary items with the following structureAcronymColumn with acronym abbreviationsDefinitionColumn with acronym definitions
Examples
glossarize("A DMDU Example")
#> A <span>
#> <a class="tippy" id="tippy-tb98hc7qngr2pydeoulv">DMDU</a>
#> <script>tippyr.tip({"selector":"#tippy-tb98hc7qngr2pydeoulv","options":{"content":"Decision Making Under Deep Uncertainty","allowHTML":true,"interactive":false}});</script>
#> </span> Example