simulate_data: Create a random data frame.

Description Usage Arguments

Description

Create a random data frame.

Usage

1
simulate_data(model, parameters, n, data = list())

Arguments

model

The Stan model describing how the data is generated.

parameters

The assumed parameter values to use in the data generation process.

n

The number of samples to make.

data

Any data that needs to be fed into the model - things like number of explanatory variables.


amarder/powerstan documentation built on May 12, 2019, 2:34 a.m.