This function saves the constructed emulator to a .pkl file.
Usage
write(object, pkl_file, light = TRUE)
Value
No return value. object will be save to a local .pkl file specified by pkl_file.
Arguments
object
an instance of the S3 class gp, dgp, lgp, or bundle.
pkl_file
the path to and the name of the .pkl file to which
the emulator object is saved.
light
a bool indicating if a light version of the constructed emulator (that requires a small storage) will be saved.
This argument has no effects on GP or bundles of GP emulators. Defaults to TRUE.