glossary_notes | R Documentation |
Return formatted notes from a tex glossary file or glossary object
glossary_notes(x, ...)
## S3 method for class 'character'
glossary_notes(x, ..., format = guess_glo_fmt(x))
## S3 method for class 'list'
glossary_notes(x, ...)
## S3 method for class 'glossary'
glossary_notes(x, ..., sep = ": ", collapse = "; ")
x |
path to a tex glossary file, a glossary object, or a list that can
be coerced to a glossary object with |
... |
unquoted glossary labels to be included in the notes text. |
format |
passed to |
sep |
character to separate name and value. |
collapse |
a character used to collapse definitions into a single string. |
st_notes_glo()
, read_glossary()
file <- system.file("glo", "glossary.tex", package = "pmtables")
glossary_notes(file, WT, CRCL)
g <- as_glossary(ss = "steady state", ALB = "albumin", WT = "weight")
glossary_notes(g, ALB, ss)
what <- c("WT", "NCA", "NPDE")
g <- read_glossary(file)
glossary_notes(g, tidyselect::all_of(what))
l <- list(ss = "steady state", ALB = "albumin", WT = "weight")
glossary_notes(l, ALB, ss)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.