Skip to contents

[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.

Value

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

Details

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

Examples

if (FALSE) { # \dontrun{

# See lgp() for an example.
} # }