pub fn generate_ratio_custom_comparison_plot(
results: &[AnalysisResults],
comparison_index: usize,
group_indices: Range<usize>,
output_path: &Path,
include_estimate_column: bool,
) -> Result<(), Box<dyn Error>>
Expand description
Generates a line plot for the various columns from a custom comparison.
§Arguments
results
- A slice ofAnalysisResults
, one for each analyzed file.comparison_index
- The index of the custom comparison to plot in thecustom_comparisons
array.group_indices
- The range of indices for the groups to compare.output_path
- The path where the plot file will be written.include_estimate_column
- Whether to include the estimate ratio column.
§Returns
Result<(), Box<dyn std::error::Error>>
- Ok if successful, otherwise a boxedstd::error::Error
.