set_linked_idx: Set linked indices

View source: R/utils.R

set_linked_idxR Documentation

Set linked indices

Description

[Deprecated]

This function is deprecated and will be removed in the next release. The updated lgp() function now offers a simpler, more efficient way to specify linked information for (D)GP emulators.

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().

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)

dgpsi documentation built on April 3, 2025, 9:26 p.m.