After running a projection, plot the predation mortality rate of each species by size. The mortality rate is averaged over the specified time range (a single value for the time range can be used to plot a single time step).

plotlyPredMort(object, species = NULL, time_range, highlight = NULL, ...)

Arguments

object

An object of class MizerSim or MizerParams.

species

Name or vector of names of the species to be plotted. By default all species are plotted.

time_range

The time range (either a vector of values, a vector of min and max time, or a single value) to average the abundances over. Default is the final time step. Ignored when called with a MizerParams object.

highlight

Name or vector of names of the species to be highlighted.

...

Other arguments (currently unused)

Value

A ggplot2 object

See also