write {dgpsi}R Documentation

Save the constructed emulator

Description

This function saves the constructed emulator to a .pkl file.

Usage

write(object, pkl_file)

Arguments

object

an instance of the S3 class gp, dgp, or lgp.

pkl_file

the path to and the name of the .pkl file to which the emulator object is saved.

Details

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

Value

No return value. object will be save to a local .pkl file specified by pkl_file.

Note

Since the constructed emulators are 'python' objects, save() from R will not work as it is only for R objects.

Examples

## Not run: 

# See gp(), dgp(), or lgp() for an example.

## End(Not run)

[Package dgpsi version 2.1.5 Index]