View source: R/adaptive_sampling.R
plot.parameter_sensitivity | R Documentation |
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 class 'parameter_sensitivity'
plot(
x,
width = 3.5,
height = 3.5,
save_plot = FALSE,
output_dir,
y_limit_factor = NULL,
...
)
x |
A |
width |
The numeric width of the output plot in inches. |
height |
The numeric height of the output plot in inches. |
save_plot |
A logical indicating whether to save the plot to a file. |
output_dir |
A character string specifying the directory for output files. Required if |
y_limit_factor |
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). |
A ggplot
object representing the sensitivity plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.