Skip to contents

Simulate data from the prior predictive distribution to check whether priors are reasonable.

Usage

prior_predict(formula, family, data, priors = NULL, n = 100)

Arguments

formula

A ratiod_formula object or formula components

family

A ratiod_family object

data

Data frame (structure used for dimensions)

priors

Prior specification

n

Number of prior predictive datasets to simulate

Value

A list with simulated datasets

Examples

# prior_predict is not yet implemented
# See sim_ratiod() for data simulation