Render diagnostic report for a given species
render_diagnostic.Rd
This function will generate a diagnostic report using the 'opp-diagnostic-report' RMarkdown template in OPPtools
, with options to save the generated report as an .Rmd file in addition to the output PDF.
Usage
render_diagnostic(
params,
save_rmd = FALSE,
output_dir = "temp",
out_format = "html_document",
...
)
Arguments
- params
List of 16 parameter values used to generate report.
- save_rmd
Logical (T/F). Should the .Rmd file used to generate the PDF report be saved as well?
- output_dir
Output directory for generated files. Defaults to 'temp'. If the directory does not exist, the script will create the directory.