This function resets the number of imputations for predictions from a DGP emulator.
Arguments
- object
an instance of the S3 class
dgp
.- B
the number of imputations to produce predictions from
object
. Increase the value to account for more imputation uncertainties with slower predictions. Decrease the value for lower imputation uncertainties but faster predictions. Defaults to5
.
Details
See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.
Note
This function is useful when a DGP emulator has been trained and one wants to make faster predictions by decreasing the number of imputations without rebuilding the emulator.
The following slots:
loo
andoos
created byvalidate()
; andresults
created bypredict()
inobject
will be removed and not contained in the returned object.