Skip to contents

Sample model parameters from the model prior distribution.

Usage

sample_prior(model, nsim, seed, ...)

Arguments

model

a model of class "Model"

nsim

number of samples to draw

seed

integer, fixed random seed; NULL for no fixed seed

...

further arguments passed to method implementations

Value

a rstanfit object with the sampled prior parameters