Skip to contents

Build abbreviations caption

Usage

build_abbrevs_caption(abbreviations, abbreviations_to_define)

Arguments

abbreviations

a data.frame loaded from "inst/analyses/abbreviations.csv"

abbreviations_to_define

a character vector indicating rows of abbreviations to use

Value

a character string

Examples

if (FALSE) { # \dontrun{
abbreviations <- read.csv("inst/analyses/abbreviations.csv")

abbrevs_caption <- abbreviations |>
 build_abbrevs_caption(
   abbreviations_to_define = c(
     "SWM",
     "MRI"
   )
 )
} # }