macros | R Documentation |
Replacements for LaTeX macros
func(x, ...) sql_func(x) sql_word(x) argument(x) variable(x) pkg(x, ...) mdsr_data(x) mdsr_person(x, ...) vocab(x, ...) index_entry( index_label = "subject", x, emph = FALSE, index = TRUE, .f = NULL, alt = NULL )
x |
text to wrap in macro |
... |
arguments passed to |
index_label |
the name of the index |
emph |
Display the LaTeX entry in italics |
index |
add LaTeX indexing? |
.f |
function to apply to |
alt |
alternate character string to use for indexing |
func("mutate") func("mutate", index = FALSE) func("left_join") pkg("dplyr") mdsr_person("Ben Baumer") mdsr_person("Ben Baumer", emph = TRUE) mdsr_person("Richard De Veaux") mdsr_person("Richard De Veaux", alt = "De Veaux, Richard") vocab(x = "Big data", .f = tolower) index_entry(x = "Barack Obama") index_entry(x = "Barack Obama", index = FALSE) index_entry(x = "Big data", .f = tolower) index_entry(x = "Twilight", emph = TRUE) index_entry(x = "Richard De Veaux", alt = "De Veaux, Richard") index_entry(x = "left_join")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.