Skip to contents

Posterior predictive summaries (one row per observation). For the raw draws use posterior_predict.bml; for the linear predictor use fitted.bml.

Usage

# S3 method for class 'bml'
predict(object, summary = TRUE, ...)

Arguments

object

A fitted bml model (fitted with monitor = TRUE).

summary

Logical; if TRUE (default), return a summary matrix, else the draws matrix.

...

Unused (newdata is not supported yet).

Value

A matrix of posterior predictive summaries, or a draws matrix.