A constructor function for creating S3 objects of class
stansim_collection
. stansim_collection
objects are the
preferred means of managing and storing the results of multiple stan
simulations ran using stansim()
.
stansim_collection(collection_name, data, refitted, simulations)
collection_name | A name attached to the |
---|---|
data | The tidy dataframe containing data from all grouped simulations. |
refitted | A dataframe containing a row for every refitted dataset, listing the simulation to which it belonged and the dataset name. |
simulations | A list of all simulation data other than estimated values and the list of refitted data. |
An S3 object of class stansim_collection
.