Predict values using dream_model object

Description

Predict values using function calibrated by dreamCalibrate, optionally with new data, using various methods of summarising the posterior parameter and output distributions

Usage

1
2
## S3 method for class 'dream_model'
predict(object, newdata=NULL,method="sample.ml", level=0.99, ...)

Arguments

object

dream_model object, as returned by dreamCalibrate

newdata

new FUN.pars list. If NULL, use object's.

method

CI or a method of coef.dream

level

Requested two-sided level of confidence. For CI method.

...

Extra arguments for window.dream

Value

the same as the return value of FUN, provided to dreamCalibrate (either numeric, ts or list). For method="CI", either a matrix with upper and lower bound or list of matrices.