Description Usage Arguments Value Examples
View source: R/extract_refitted-methods.R
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.
1 2 3 | ## S3 method for class '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.
1 2 3 4 5 6 7 8 9 10 11 12 | ## 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")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.