set_id: Set Emulator ID

View source: R/utils.R

set_idR Documentation

Set Emulator ID

Description

[New]

This function assigns a unique identifier to an emulator.

Usage

set_id(object, id)

Arguments

object

an emulator object to which the ID will be assigned.

id

a unique identifier for the emulator as either a numeric or character string. Ensure this ID does not conflict with other emulator IDs, especially when used in linked emulations.

Details

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

Value

The updated object, with the assigned ID stored in its id slot.

Examples

## Not run: 

# See lgp() for an example.

## End(Not run)

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