Learn R Programming

ypr (version 0.4.0)

ypr_tabulate_fish: Tabulate Fish Numbers

Description

Produces a data frame of the number of fish in the 'Survivors', 'Spawners', 'Caught', 'Harvested', 'Released' and 'HandlingMortalities' categories by 'Length', 'Age' or 'Weight' class.

Usage

ypr_tabulate_fish(population, x = "Age", binwidth = 1L)

Arguments

population

An object of class ypr_population().

x

A string of the term on the x-axis.

binwidth

A positive integer of the width of the bins for grouping.

Value

A data frame

See Also

Other tabulate: ypr_tabulate_biomass(), ypr_tabulate_parameters(), ypr_tabulate_sr(), ypr_tabulate_yields(), ypr_tabulate_yield()

Examples

Run this code
# NOT RUN {
ypr_tabulate_fish(ypr_population())
# }

Run the code above in your browser using DataLab