extract_data: Extract data from rstansim objects

Description Usage Arguments Value

View source: R/extract_data-methods.R

Description

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.

Usage

1
extract_data(object, ...)

Arguments

object

An S3 object of class stansim_simulation or stansim_collection.

...

Arguments for filtering returned data, see specific methods for further detail.

Value

A dataframe containing the specified data.


rstansim documentation built on Sept. 22, 2017, 1:06 a.m.