View source: R/output_credits.R
output_credits | R Documentation |
Adds a credits section, which is automatically filled with the libraries used. These can be added to or edited.
output_credits(add = NULL, exclude = NULL)
add |
A list of credits to add. Each credit should be a list with at least entries for |
exclude |
Names of automatic credits to exclude. The automatic credits are |
A character vector of the contents to be added.
## Not run:
# adds an institution credit, and excludes the default colorbrewer credit
output_credits(
list(name = "Institution", url = "https://example.com", description = "The institution."),
"colorbrewer"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.