Skip to contents

This function adds the linked information to a GP or DGP emulator if the information is not provided when the emulator is constructed by gp() or dgp().

Usage

set_linked_idx(object, idx)

Arguments

object

an instance of the S3 class gp or dgp.

idx

same as the argument linked_idx of gp() and dgp().

Value

An updated object with the information of idx incorporated.

Details

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

Note

This function is useful when different models are emulated by different teams. Each team can create their (D)GP emulator even without knowing how different emulators are connected together. When this information is available and different emulators are collected, the connection information between emulators can then be assigned to individual emulators with this function.

Examples

if (FALSE) {

# See lgp() for an example.
}