Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ypr (version 0.5.2)

ypr_plot_biomass: Plot Biomass

Description

Produces a frequency histogram of the total fish 'Biomass' or 'Eggs' deposition by 'Age' class.

Usage

ypr_plot_biomass(population, y = "Biomass", color = NULL)

Value

A ggplot2 object.

Arguments

population

An object of class ypr_population().

y

A string of the term on the y-axis.

color

A string of the color around each bar (or NULL).

See Also

ypr_population() and ggplot2::geom_histogram()

Examples

Run this code
ypr_plot_biomass(ypr_population(), color = "white")

Run the code above in your browser using DataLab