set_imp | R Documentation |
This function resets the number of imputations for prediction from a DGP emulator.
set_imp(object, B = 5)
object |
an instance of the S3 class |
B |
the number of imputations to produce predictions from |
See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.
An updated object
with the information of B
incorporated.
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
and oos
created by validate()
; and
results
created by predict()
in object
will be removed and not contained in the returned object.
## Not run:
# See design() for an example.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.