Description Usage Arguments Examples
View source: R/compare_plot_report_generic.R
Based on a Rmarkdown Template (ps_templ) document all plots in given GE directory (ps_gedir) are taken. For a given plot in directory ps_gedir, a corresponding plot with the same filename is searched in an archive directory (ps_archdir). If such a plot is found, the two corresponding plots are shown side-by-side in the generated Rmarkdown report.
1 2 3 4 5 6 7 8 9 10 11 12 | create_ge_plot_report(
ps_gedir,
ps_archdir,
ps_trgdir,
ps_templ,
ps_report_text,
ps_rmd_report = "ge_plot_report.Rmd",
pb_keep_src = FALSE,
pb_session_info = TRUE,
pb_debug = FALSE,
plogger = NULL
)
|
ps_gedir |
directory with plots of current GE round |
ps_archdir |
archive directory with plots from previous GE |
ps_trgdir |
target directory where plot files from archive are extracted, relative to ps_gedir |
ps_templ |
path to Rmarkdown template file |
ps_report_text |
text that is included in the report before plotting |
ps_rmd_report |
name of report source file |
pb_keep_src |
should Rmd source be kept |
pb_session_info |
should session_info be included |
pb_debug |
flag indicating whether debug info is printed |
plogger |
log4r logger object |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
create_ge_plot_report(ps_gedir = "{path to comparison dir}",
ps_archdir = "{path to archive dir}",
ps_trgdir = "1904/compareBull",
ps_templ = "inst/templates/compare_plots.Rmd.template",
ps_report_text = "## Comparison Of Plots\nPlots compare estimates ...",
ps_rmd_report = 'ge_plot_report.Rmd',
pb_debug = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.