Skip to contents

Creates a multi-panel comparison plot showing BM baseline vs pigauto performance across all simulation scenarios.

Usage

# S3 method for class 'pigauto_benchmark'
plot(x, metric = "rmse", ...)

Arguments

x

pigauto_benchmark object.

metric

character. Which metric to plot (default "rmse").

...

passed to base plot functions.

Value

Invisible NULL.

Examples

benchmark <- structure(list(summary = data.frame(
  scenario = rep("BM", 2), trait = rep("trait1", 2),
  method = c("baseline", "pigauto"), metric = rep("rmse", 2),
  mean = c(1, 0.8)
)), class = "pigauto_benchmark")
plot(benchmark)