update_abbrev: Update the abbreviation for a glossary entry

View source: R/glossary.R

update_abbrevR Documentation

Update the abbreviation for a glossary entry

Description

Update the abbreviation for a glossary entry

Usage

update_abbrev(x, ...)

Arguments

x

a glossary object.

...

⁠<label> = <new abbreviation>⁠ pairs; if just the ⁠<label>⁠ is passed, it will be used as the new update abbreviation value.

See Also

as_glossary()

Examples

x <- as_glossary(list(ka = "absorption rate constant"))

x <- update_abbrev(x, ka = "\\ensuremath{k_a}")

x$ka

x <- update_abbrev(x, ka)

x$ka


metrumresearchgroup/pmtables documentation built on Oct. 27, 2024, 5:16 p.m.