glossary_table {glossary} | R Documentation |
Display glossary table
Description
All terms defined with glossary
(since the last call to glossary_reset
) are added to a list, which this function displays using kable (or outputs as a data frame).
Usage
glossary_table(as_kable = TRUE)
Arguments
as_kable |
if the output should be a kableExtra table or a data frame |
Value
kable table or data frame
Examples
glossary_reset()
# add a definition to the table
glossary("term", def = "definition", path = NULL)
glossary_table() # show table as kable
glossary_table(FALSE) # or as a data frame
[Package glossary version 1.0.0 Index]