Learn R Programming

dgpsi (version 2.4.0)

window: 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)

Value

An updated object with trimmed sequences of model parameters.

Arguments

object

an instance of the S3 class dgp.

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 NULL to keep all iterations after (including) start. Defaults to NULL.

thin

the interval between the start and end iterations to thin out the sequences. Defaults to 1.

Details

See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.

Examples

Run this code
if (FALSE) {

# See dgp() for an example.
}

Run the code above in your browser using DataLab