ypr_plot_biomass: Plot Biomass

View source: R/plot-biomass.R

ypr_plot_biomassR Documentation

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)

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).

Value

A ggplot2 object.

See Also

ggplot2::geom_histogram()

Other biomass: ypr_tabulate_biomass()

Other plot: ypr_plot_fish(), ypr_plot_schedule(), ypr_plot_sr(), ypr_plot_yield()

Examples

ypr_plot_biomass(ypr_population(), color = "white")

poissonconsulting/ypr documentation built on April 4, 2023, 8:35 p.m.