Learn R Programming

topolow (version 1.0.0)

plot.parameter_sensitivity: Plot Method for Parameter Sensitivity Analysis

Description

Creates a visualization of parameter sensitivity showing minimum MAE values across parameter ranges with threshold indicators.

Usage

# S3 method for parameter_sensitivity
plot(
  x,
  width = 3.5,
  height = 3.5,
  save_plot = FALSE,
  output_dir,
  y_limit_factor = NULL,
  ...
)

Value

A ggplot object

Arguments

x

A parameter_sensitivity object

width

Numeric width of output plot in inches (default: 3.5)

height

Numeric height of output plot in inches (default: 3.5)

save_plot

Logical. Whether to save plot to file. Default: FALSE

output_dir

Character. Directory for output files. Required if save_plot is TRUE.

y_limit_factor

Numeric. Factor to set the upper y-axis limit as a percentage above the threshold value (e.g., 1.10 for 10% above). Default: NULL (automatic scaling)

...

Additional arguments passed to plot