window | R Documentation |
This function trims the sequence of hyperparameter estimates within a DGP emulator generated during training.
window(object, start, end = NULL, thin = 1)
object |
an instance of the S3 class |
start |
the first iteration before which all iterations are trimmed from the sequence. |
end |
the last iteration after which all iterations are trimmed from the sequence.
Set to |
thin |
the interval between the |
See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.
An updated object
with a trimmed sequence of hyperparameters.
This function is useful when a DGP emulator has been trained and one wants to trim the sequence of hyperparameters estimated and to use the trimmed sequence to generate point estimates of the DGP model parameters for prediction.
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 dgp() for an example.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.