powered by
This function saves the constructed emulator to a .pkl file.
.pkl
write(object, pkl_file, light = TRUE)
No return value. object will be saved to a local .pkl file specified by pkl_file.
object
pkl_file
an instance of the S3 class gp, dgp, lgp, or bundle.
gp
dgp
lgp
bundle
the path to and the name of the .pkl file to which the emulator object is saved.
a bool indicating if a light version of the constructed emulator (that requires less disk space to store) will be saved. Defaults to TRUE.
TRUE
See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.
if (FALSE) { # See gp(), dgp(), lgp(), or pack() for an example. }
Run the code above in your browser using DataLab