get_plot_chunks: Adding R-code Chunks to include Plots into the Report

View source: R/compare_plot_report_generic.R

get_plot_chunksR Documentation

Adding R-code Chunks to include Plots into the Report

Description

This function extracts the plot files from the directories given by the arguments ps_right_dir and ps_left_dir. Based on the list of plot files the R-code chunks that include the plots into the report are generated and added to the result string.

Usage

get_plot_chunks(ps_right_dir, ps_left_dir, ps_diagram_na_path)

Arguments

ps_right_dir

directory with plots that appear in the right-hand-side column of the report

ps_left_dir

directory with plots that appear in the left-hand-side column of the report

ps_diagram_na_path

path to the missing-diagram replacement

Value

s_code_chunk_result R-code chunks that include the plots into the report


fbzwsqualitasag/qgert documentation built on July 1, 2022, 9:41 a.m.