powered by
Produces a frequency histogram of the total fish 'Biomass' or 'Eggs' deposition by 'Age' class.
ypr_plot_biomass(population, y = "Biomass", color = NULL)
An object of class ypr_population().
ypr_population()
A string of the term on the y-axis.
A string of the color around each bar (or NULL).
A ggplot2 object.
ypr_population() and ggplot2::geom_histogram()
ggplot2::geom_histogram()
# NOT RUN { ypr_plot_biomass(ypr_population(), color = "white") # }
Run the code above in your browser using DataLab