Sets the reproductive efficiency for all species so that the rate of egg production exactly compensates for the loss from the first size class due to growth and mortality.

retune_erepro(params, species = species_params(params)$species)



A MizerParams object


The species to be selected. Optional. By default all target species are selected. A vector of species names, or a numeric vector with the species indices, or a logical vector indicating for each species whether it is to be selected (TRUE) or not.


A MizerParams object with updated values for the erepro column in the species_params data frame.


Currently works only if the model uses either Beverton-Holt density dependent reproduction or density-independent reproduction.