Description Usage Arguments Details Examples
Summarize a text model by visualizing a source text
1 2 3 4 5 6 7 | colorize(data, tokens, source, background = NULL, color = NULL,
bold = NULL, italic = NULL, underline = NULL, format = c("html",
"latex", "shiny", "console"), snippet = TRUE, ...)
colorise(data, tokens, source, background = NULL, color = NULL,
bold = NULL, italic = NULL, underline = NULL, format = c("html",
"latex", "shiny", "console"), snippet = TRUE, ...)
|
data |
A data frame containg something summarizing a model. |
tokens |
A character string specifying the column in |
source |
A character vector specifying a source text to format. |
background |
A character string specifying a variable name from |
color |
A character string specifying a variable name from |
bold |
A character string specifying a variable name from |
italic |
A character string specifying a variable name from |
underline |
A character string specifying a variable name from |
format |
A character string specifying an output format. |
snippet |
A logical indicating whether to provide just a code snippet (the default) or a complete document. |
... |
TBD |
font |
A character string specifying a variable name from |
size |
A character string specifying a variable name from |
LaTeX support requires the xcolor package in the document header.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.