
Subset Simulation Results by Index
subset_simulations.Rd
This function subsets the elements of a simulation results list to the specified indices.
It excludes the "more_info"
field by default but can optionally retain it.
Arguments
- ind
A vector of indices to subset the simulation results.
- simulation_results
A list containing simulation results, where each element (except
"more_info"
) is assumed to be indexable.- keep_more_info
Logical; if
TRUE
, the"more_info"
field is retained in the output. Default isFALSE
.
Value
A list of simulation results subset to the specified indices. If keep_more_info
is TRUE
, the "more_info"
field is included unchanged.