latex_optional_arg | R Documentation |
Generate optional arguments to a LaTeX call.
latex_optional_arg(x = NULL, ...)
x |
A character scalar (or something that can be coerced into a character scalar) |
... |
Named arguments that must be present for the optional argument to work. |
The character scalar in square brackets, "[x]".
Other Latex Arguments:
latex_required_arg()
latex_optional_arg(NULL)
latex_optional_arg(x="A")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.