Applied to an object of type stansim_collection,
extract_refitted()
will return a dataframe of simulation-dataset
pairings that have been refitted since the initial simulation.
# S3 method for stansim_collection extract_refitted(object, sim_names = "all", datasets = "all", ...)
object | An object of S3 class stansim_collection. |
---|---|
sim_names | Either a character vector containing the names of the
|
datasets | Either a character vector containing the names of datasets
(as provided to the original |
... | other arguments not used by this method. |
A dataframe with the simulation titles and dataset names of refitted datasets.
# NOT RUN { # extract all refitted indicators extract_refitted(collection) # extract only datasets from "simulation1" extract_refitted(collection, sim_names = "simulation1") # extract only indicators for dataset "data-file_12.rds" extract_refitted(collection, datasets = "data-file_12.rds") # }