tidy_posterior_predict: Draw from the posterior predictive distribution of the model...

View source: R/ui_predictions.R

tidy_posterior_predictR Documentation

Draw from the posterior predictive distribution of the model outcome

Description

Draw from the posterior predictive distribution of the model outcome

Usage

tidy_posterior_predict(object, newdata, draw = NULL, cores = NULL, ...)

Arguments

object

A networkModelStanfit object.

newdata

The original model used to fit the networkStanfit object.

draw

Integer, number of draws to sample from the posterior. Default is 100.

cores

Number of cores to use for parallel calculations. Default is NULL, which means to use the value stored in options()[["mc.cores"]] (or 1 if this value is not set).

...

Not used for now.

Value

A tidy table.


isotracer documentation built on Sept. 22, 2023, 1:07 a.m.