subset_simulation: Create a simulation that is a subset of a preexisting...

Description Usage Arguments

View source: R/get-from-simulation.R


Given a simulation, creates a new simulation that is a subset of the preexisting simulation. Does not save this new one to file. To do so, first change the name (and, potentially, label) of the simulation and then use save_simulation. If you call save_simulation before changing the name, you will overwrite the preexisting simulation. Use rename and relabel.





a simulation object


logical conditions to specify a subset of models. Conditions can only involve params of model that have length 1 and are of class numeric or character.


a vector of integers indexing the models or a vector of model names. To select models based on parameter values, use .... However, using ... is slower than using subset.


a vector of positive integers specifying which draws' objects are desired. If missing, then all draws' evals are returned.


character vector of method names of interest. If missing, then all methods' evals are returned

simulator documentation built on May 29, 2017, 11:29 a.m.