Removes forcing functions (to reduce the file size)
and stores the xds object using saveRDS
Usage
saveXDS(xds_obj, filename)
Arguments
- xds_obj
an xds model object
- filename
the file name
Note
Forcing functions (e.g. F_trend) are stored
on the xds object in a form that
takes up enormous space. This removes the functions
before saving.
The function readRDS in ramp.func
provides one method for saving the parameter
sets for trace functions, and rebuilds the
functions