plotDiet: Plot diet, resolved by prey species, as function of predator at size.
Description
Plots the proportions with which each prey species contributes to the total
biomass consumed by the specified predator species, as a function of the
predator's size. These proportions are obtained with getDiet().
Usage
plotDiet(object, species = NULL, return_data = FALSE)
Arguments
object
An object of class '>MizerSim or
'>MizerParams.
species
The name of the predator species for which to plot the diet.
return_data
A boolean value that determines whether the formatted data
used for the plot is returned instead of the plot itself. Default value is FALSE