hookaddcap | R Documentation |
Set knitr
to Automatically Call addCap
in Figure-Producing Chunks
hookaddcap(loc = NULL)
loc |
if non- |
Adds a knitr
hook that takes effect before the chunk is run. The hook function retrieves figure information from the current chunk to give to addCap
.
nothing; calls knitr
hook and chunk option setting functions
Frank Harrell
## Not run:
hookaddcap()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.