This function removes unsuccessful runs from the simulation parameter set
to ensure that all analyses are only performed for parameter combinations
that have corresponding simulation results.
Usage
remove_unsuccesful_runs(sim)
Arguments
- sim
A SWATrunR nested list containing simulation data. : simulation
and parameter
.
simulation
: A list where the first element contains the results of the simulation runs.
parameter
: A list with an element values
which is a data frame containing the parameter sets used in the simulation.
Value
A modified version of the input sim
list, with the parameter$values
element containing only the parameter sets for which simulation results are available.
Examples
if (FALSE) { # \dontrun{
sim_flow_full <- remove_unsuccesful_runs(sim_flow_full_bck)
} # }