Generic function for extracting data from rstansim objects. Default arguments will return full data as a dataframe, otherwise rows will be filtered based on provided arguments.
extract_data(object, ...)
| object | An S3 object of class stansim_simulation or stansim_collection. |
|---|---|
| ... | Arguments for filtering returned data, see specific methods for further detail. |
A dataframe containing the specified data.