Add a column with predictions from a fit
# S3 method for networkModel
predict(
object,
fit,
draws = NULL,
error.draws = 5,
probs = 0.95,
cores = NULL,
dt = NULL,
grid_size = NULL,
at = NULL,
end = NULL,
...
)
A network model object with an added column "prediction"
.
Network model
Model fit (mcmc.list object)
Integer, number of draws from the posteriors
Integer, number of draws from the error distribution, for a given posterior draw.
Credible interval (default 0.95).
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).
Time step size or grid points, respectively.
Timepoints at which the predictions should be returned.
Final timepoint used in the projections.
Not used.