View source: R/ui_predictions.R
posterior_predict.networkModelStanfit | R Documentation |
Draw from the posterior predictive distribution of the model outcome
## S3 method for class 'networkModelStanfit'
posterior_predict(object, newdata, draw = NULL, cores = NULL, ...)
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. |
A "draw" by N matrix where N is the number of data points predicted per draw.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.