Last chance! 50% off unlimited learning
Sale ends in
Set knitr
to Automatically Call addCap
in Figure-Producing Chunks
hookaddcap(loc = NULL)
nothing; calls knitr
hook and chunk option setting functions
if non-NULL
will be used to set the knitr
chunk option fig.cap.location
Frank Harrell
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
.