glossary_table: Display glossary table

View source: R/glossary_table.R

glossary_tableR 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



glossary documentation built on May 31, 2023, 9:04 p.m.