Learn R Programming

gkwreg (version 1.0.7)

.create_bar_plot: Create Bar Plot for Model Comparison

Description

Create Bar Plot for Model Comparison

Usage

.create_bar_plot(data, title, metrics, higher_better = FALSE)

Value

A ggplot2 object

Arguments

data

Data frame containing the comparison data

title

Plot title

metrics

Vector of metric names to include in the plot

higher_better

Logical; if TRUE, higher values indicate better fit