
Upgrade a mizerReef params object to the current layout
Source:R/mizerReef-upgrade.R
upgrade.mizerReef.RdCalled automatically by mizer::validParams() when an object created with
an older version of mizerReef is loaded. Migrates data stored in the old
custom S4 slots (refuge_params, algae_params, detritus_params) to the
current other_params sub-lists (other_params$refuge_params,
other_params$algae, other_params$detritus).
Usage
# S3 method for class 'mizerReef'
upgrade(object, ...)