window {dgpsi} | R Documentation |
Trim the sequences of model parameters of a DGP emulator
Description
This function trim the sequences of model parameters of a DGP emulator that are generated during the training.
Usage
window(object, start, end = NULL, thin = 1)
Arguments
object |
an instance of the S3 class |
start |
the first iteration before which all iterations are trimmed from the sequences. |
end |
the last iteration after which all iterations are trimmed from the sequences.
Set to |
thin |
the interval between the |
Details
See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.
Value
An updated object
with trimmed sequences of model parameters.
Note
This function is useful when a DGP emulator has been trained and one wants to trim the sequences of model parameters and use the trimmed sequences to generate the point estimates of DGP model parameters for predictions.
The following slots:
-
loo
andoos
created byvalidate()
; and -
results
created bypredict()
inobject
will be removed and not contained in the returned object.
-
Examples
## Not run:
# See dgp() for an example.
## End(Not run)