plot_param: Plotting parameter with boxplots and dotty plots

View source: R/plot_param.R

plot_paramR Documentation

Plotting parameter with boxplots and dotty plots

Description

The function plot_param generates plots to visualize parameter sensitivity and distribution in the context of multi-objective optimization using hydrological models. It helps in understanding how different parameters affect the model's performance and the trade-offs involved.

(*): When do.png == TRUE, graphics are written to disk.

Usage

plot_param(Results,
           legend.param = NULL,
           col = NULL,
           col.param = NULL,
           col.lines = NULL,
           name.param = NULL,
           lwd = 2,
           main = "study case #1",
           drty.out = "MOPSO.out",
           cex.pt = 1,
           cex.main = 1,
           cex.lab = 1,
           cex.axis = 1,
           cex.leg = 1,
           do.png = FALSE)

Arguments

Results

(list)
Object containing preprocessed hydrological results.

legend.param

(character or NULL)
Legend text for the parameters in the plots.

col

(character or NULL)
Colors used for points in the parameter dotty plots.

col.param

(character or NULL)
Specific colors for lines or points representing parameters in the parameter boxplots.

col.lines

(character or NULL)
Specific colors for lines in the parameter boxplots.

name.param

(character or NULL)
Custom names for the parameters to be plotted.

lwd

(numeric)
Line width for plotting parameters in boxplots.

main

(character)
Main title for the plot.

drty.out

(character)
Output directory where plots will be saved if specified to save as PNG files.

cex.pt

(numeric)
Size of points in the plots.

cex.main

(numeric)
Size of the main title text in the plot.

cex.lab

(numeric)
Size of the axis label text in the plots.

cex.axis

(numeric)
Size of the axis values text in the plots.

cex.leg

(numeric)
Size of the legend text in the plots.

do.png

(logical)
Boolean value indicating whether the plots should be saved as PNG files.

Value

No return value; generates plots as a side effect.

Author(s)

Rodrigo Marinao Rivas ra.marinao.rivas@gmail.com, Mauricio Zambrano-Bigiarini, mzb.devel@gmail.com

See Also

plot_out, plot_pof


hydroMOPSO documentation built on June 18, 2025, 9:15 a.m.