st_notes_glo | R Documentation |
Add table notes based on acronyms from a tex glossary file
st_notes_glo(
x,
glossary,
...,
sep = ": ",
collapse = "; ",
labels = NULL,
width = NULL
)
x |
an stobject. |
glossary |
a glossary object generated from |
... |
unquoted names matching those names in |
sep |
character to separate name and value. |
collapse |
a character used to collapse definitions into a single string. |
labels |
a character vector or comma-separates string of definition
labels to get appended to the end of names passed in |
width |
if numeric, |
glossary_notes()
, read_glossary()
library(dplyr)
file <- system.file("glo", "glossary.tex", package = "pmtables")
x <- read_glossary(file)
st_new(stdata()) %>%
st_notes_glo(x, WT, CRCL, SCR, width = 1) %>%
stable()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.