saving_and_restoring.Rdsavemodel saves the results of training an emulator in a portable
format. loadmodel loads a model from a file created this way and
returns it as a fldgen object.
loadmodel(file, oldfmt = FALSE) savemodel(modeldata, file, clobber = FALSE)
| file | Name of the file to write the data to. |
|---|---|
| oldfmt | Flag indicating that we should try to load the old (.rda) format from pre-2.1 versions of fldgen. |
| modeldata | A |
| clobber | Flag indicating whether it's ok to overwrite an existing file |