View source: R/figures_template.R
get_figure_chunk_df | R Documentation |
Get code chunks for plotting all figures
get_figure_chunk_df( df, font_family = get_font_df()[["family"]], function_call = "RUBer::plot_figure", heading_starting_lvl = 1L )
df |
Data frame with columns |
font_family |
Character, the font family to use for all plots, defaults
to |
function_call |
Character, the function call for each plot chunk,
defaults to |
heading_starting_lvl |
Integer, the level of the heading. |
Data frame with columns figure_nr
, chunk_heading
,
chunk_subheading
, chunk_figure_df
and chunk_plot_figure
get_figure_chunk_df(RUBer::df_example %>% dplyr::filter(report_nr == 1L))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.