PlotResults: Plotting the results of optimisation/calibration or...

View source: R/PlotResults.R

PlotResultsR Documentation

Plotting the results of optimisation/calibration or verification

Description

It takes the optimisation/calibration or verifcation results of a model and then produces the following plots (*):

1) ModelOut_BCS_from_Pareto_Optimal_Front_vs_Obs: Graphic comparison of time series of observed and simulated variables (taking the simulation of the best compromise solution)
2) ModelOut_from_Pareto_Optimal_Front: Uncertainty band that encompasses the simulations given by all the solutions of the Pareto Optimal Front, in a time series. The time series of the best compromise solution is distinguished
3) ModelOut_from_Pareto_Optimal_Front_vs_Obs: Graphic comparison of time series of observed and simulated variables (taking an uncertainty band that encompasses the simulations given by all solutions of the Pareto Optimal Front)
4) Parameters_on_Pareto_Optimal_Front_Dottyplots: Dottyplots that compare parameter values of the solutions of the Pareto Optimal Front vs. the values of the objectives (**)
6) Parameters_on_Pareto_Optimal_Front: Boxplot of parameter values (Pareto Optimal Front solutions)
7) Solutions_2D_Compromise:

(*): When do.png == TRUE, graphics are written to disk
(**): As many graphs are generated as targets specified in the optimisation

Usage


PlotResults(Results,
            do.png = FALSE,
            main = "study case #1",
            drty.out = "MOPSO.out")

Arguments

Results

(list)
List with hydroMOPSO optimisation results or hydroVerification results. The details of this input are explained in the value returned by hydroMOPSO and hydroVerification function

do.png

(logical)
Indicates whether the graphics will be written to disk (in png format) or not
By default, graphics are not written do.png = FALSE

main

(character)
Title for the plots, usually an identifiable name of the case study

drty.out

(character)
Path to the directory storing the output files generated by hydroMOPSO

Value

No return value

Author(s)

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

See Also

hydroMOPSO


hydroMOPSO documentation built on April 26, 2023, 1:14 a.m.