- New function
renameGear()to rename gears in a MizerParams object, similar
torenameSpecies(). addSpecies()now proceeds with a warning instead of an error when species
growth stops after maturity (#315).matchBiomasses()andmatchNumbers()now provide more informative error
messages.plotDiet()now restricts the plot to size ranges with meaningful biomass
density (#317).- The
wlimandylimarguments in plotting functions now set the actual axis
limits instead of just zooming (#320). - The legend in
plotlyFeedingLevel()is improved when critical feeding level
is included. speciesandgearscolumns are now never factors, so no longer need to
callas.character()so often.validParams()also callsvalidGearParams().validParams()checks thatw_minis valid for all species and increases it
if necessary.validSpeciesParams()now also sets default forpto be equal ton.species_params<-()andgiven_species_params<-()now check that species
names match.- The
paramsargument inl2w()andw2l()has been renamed tospecies_params
to follow mizer's convention thatparamsrefers to a MizerParams object.
Bug fixes
animateSpectra()now uses consistent colours and preserves colour identity
across frames (#321).getReproductionProportion()no longer returns incorrect proportions > 1 (#299)setResource()now correctly applies thew_pp_cutoffparameter to the
carrying capacity and initial resource abundance when changed without
providingresource_capacity(#306).- Predation kernels are now truncated as documented.
given_species_params()no longer makes unwanted changes to the species
parameters.steadySingleSpecies()no longer changestime_modified.
Full Changelog: v2.5.3...v2.5.4