This list tries to mimic the behaviour of opts_chunk from knitr.
Currently these values are maintained with the functions in (the list)
opts_attacher
:
attach_graph - use fig_cap
in fig.caption
(in a knitr
chunk), i.e. fig.caption = fig_cap("My Caption")
,
this forces fig_cap
to include an attach-statement
pointing to the relevant figure in 'figure/' .
attach_table - if TRUE attached tables in caption created
with tab_cap
(default FALSE). You can use the added hook
'tab.cap' (analogous to knitr 'fig.cap'), i.e. tab.cap =
tab_cap("My caption", ...)
.
table_path a subdirectory in which to store table files (default "attacher_tables")
graph_dev - graphical extension (default "pdf")
table_ext the extension for the table files (default "csv")
table_fnc - this is the function to write the object
argument in tab_cap
to file (default utils::write.csv
)
1 |
An object of class list
of length 3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.