Learn R Programming

searchAnalyzeR (version 0.1.0)

plot_overview: Visualization Functions for Search Strategy Analysis

Description

This file contains all visualization functions used by the SearchAnalyzer class and other components of the searchAnalyzeR package. Create Overview Performance Plot

Usage

plot_overview(metrics)

Value

ggplot object showing key performance indicators

Arguments

metrics

List of calculated metrics from SearchAnalyzer

Details

Creates a focused overview plot displaying the core search performance metrics:

  • Precision: Proportion of retrieved articles that are relevant

  • Recall: Proportion of relevant articles that were retrieved

  • F1 Score: Harmonic mean of precision and recall

The plot uses color coding to distinguish between metric types and displays exact values on top of each bar.

See Also

plot_pr_curve, plot_temporal

Examples

Run this code
# Assume you have calculated metrics
metrics <- list(
  precision_recall = list(precision = 0.8, recall = 0.6, f1_score = 0.69)
)

overview_plot <- plot_overview(metrics)
print(overview_plot)

Run the code above in your browser using DataLab