create_code_chunk: Generate R-code Chunk to include Plot Pairs

View source: R/compare_plot_report_generic.R

create_code_chunkR Documentation

Generate R-code Chunk to include Plot Pairs

Description

Given the name of the plot file and the paths to the plot pair to be included in the report, the R-code chunk used in the RMarkdown report is generated and returned as a string.

Usage

create_code_chunk(ps_plot_file, ps_left_plot_path, ps_right_plot_path)

Arguments

ps_plot_file

name of the plot file

ps_left_plot_path

path to plot on the left-hand-side

ps_right_plot_path

path to the plot on the right-hand-side

Value

s_code_chunk_result R-code chunk as a string which includes the plots


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