posterior_predict.networkModelStanfit {isotracer} | R Documentation |
Draw from the posterior predictive distribution of the model outcome
Description
Draw from the posterior predictive distribution of the model outcome
Usage
## S3 method for class 'networkModelStanfit'
posterior_predict(object, newdata, draw = NULL, cores = NULL, ...)
Arguments
object |
A networkModelStanfit object. |
newdata |
Should be the model used to fit the networkStanfit object. |
draw |
Integer, number of draws to perform from the posterior. Default is 100. |
cores |
Number of cores to use for parallel calculations. Default is
|
... |
Not used for now. |
Value
A "draw" by N matrix where N is the number of data points predicted per draw.
[Package isotracer version 1.1.6 Index]