set_linked_idx {dgpsi}R Documentation

Set linked indices

Description

This function sets the linked indices of 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

indices of columns in the pooled output matrix (formed by column-combining outputs of all emulators in the feeding layer) that will feed into the GP or DGP emulator represented by object.

Details

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

Value

An updated object with the information of idx incorporated.

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

## Not run: 

# See lgp() for an example.

## End(Not run)

[Package dgpsi version 2.3.0 Index]