Takes several MizerParams objects and fuses them into a single MizerParams object containing all species. The interaction matrix of the combined object is set to all zeros.
Arguments
- ...
Two or more MizerParams objects to combine. Alternatively a single list of MizerParams objects.
Value
A MizerParams object containing all species from all input params objects.
Details
All input params objects must have identical w and w_full slots
and identical resource_params. No duplicate species names are allowed.
The species_params, given_species_params and gear_params data frames
are combined with rbind(). The per-species arrays from the various slots
are stacked along the species dimension. The interaction matrix is set to
all zeros. All other slots (resource spectrum, rates functions, etc.) are
taken from the first params object. Any comment attributes on slots are
preserved; if multiple input objects carry comments on the same slot, the
comments are combined after removing duplicates.