Draw from the posterior predictive distribution of the model outcome
# S3 method for networkModelStanfit
posterior_predict(object, newdata, draw = NULL, cores = NULL, ...)
A "draw" by N matrix where N is the number of data points predicted per draw.
A networkModelStanfit object.
Should be the model used to fit the networkStanfit object.
Integer, number of draws to perform from the posterior. Default is 100.
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.