The S3 plot method for parameter_sensitivity
objects. It creates a visualization
showing how the model's performance (minimum MAE) changes across the range of a
single parameter. A threshold line is included to indicate the region of acceptable
performance.
# S3 method for parameter_sensitivity
plot(
x,
width = 3.5,
height = 3.5,
save_plot = FALSE,
output_dir,
y_limit_factor = NULL,
...
)
A ggplot
object representing the sensitivity plot.
A parameter_sensitivity
object, typically from parameter_sensitivity_analysis()
.
The numeric width of the output plot in inches.
The numeric height of the output plot in inches.
A logical indicating whether to save the plot to a file.
A character string specifying the directory for output files. Required if save_plot
is TRUE.
A numeric factor to set the upper y-axis limit as a percentage above the threshold value (e.g., 1.10 for 10% above). If NULL, scaling is automatic.
Additional arguments (not currently used).