plotFeedingLevel-methods: Plot the feeding level of each species by size

Description Arguments Value See Also Examples

Description

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

Arguments

object

An object of class MizerSim.

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.

print_it

Display the plot, or just return the ggplot2 object

Value

A ggplot2 object

See Also

getFeedingLevel

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
data(NS_species_params_gears)
data(inter)
params <- MizerParams(NS_species_params_gears, inter)
sim <- project(params, effort=1, t_max=20, t_save = 2)
plotFeedingLevel(sim)
plotFeedingLevel(sim, time_range = 10:20)

## End(Not run)


Search within the mizer package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.