Simulate Data

simulate_data

Simulate datasets from a stan model

Fit Models

fit_models

Fit a stan model to multiple datasets

refit

Refit specified datasets in a stansim_simulation object

Manage Results

collect_simulations

Group stansim objects into a collection

extract_data

Extract data from rstansim objects

extract_data

Extract data from a stansim_collection object

extract_data

Extract data from a stansim_simulation object

extract_refitted

Extract identifiers of refitted items from rstansim objects

extract_refitted

Extract details of refitted datasets from a stansim_collection object

extract_refitted

Extract names of refitted datasets from a stansim_simulation object

extract_time_elapsed

Extract time_elapsed from rstansim objects

extract_time_elapsed

Extract time_elapsed from a stansim_collection object

extract_time_elapsed

Extract time_elapsed from a stansim_simulation object

rename

Rename a stansim object

rename

Rename a stansim_collection object

rename

Rename a stansim_simulation object

S3 Objects and Methods

stansim_collection

Construct an S3 object of type stansim_collection

print

Print a summary for a stansim_collection object

stansim_data

Construct an S3 object of type stansim_data

print

Print a summary for a stansim_data object

stansim_simulation

Construct an S3 object of type stansim_simulation

print

Print a summary for a stansim_simulation object