Learn R Programming

ypr (version 0.4.0)

ypr_tabulate_yield: Tabulate Yield

Description

Tabulate Yield

Usage

ypr_tabulate_yield(object, ...)

# S3 method for ypr_population ypr_tabulate_yield( object, Ly = 0, harvest = TRUE, biomass = FALSE, type = "both", all = FALSE, ... )

# S3 method for ypr_populations ypr_tabulate_yield( object, Ly = 0, harvest = TRUE, biomass = FALSE, type = "both", all = FALSE, ... )

Arguments

object

The populations or populations.

...

Unused parameters.

Ly

The minimum length (trophy) fish to consider when calculating the yield (cm).

harvest

A flag specifying whether to calculate the yield for harvested fish or captures.

biomass

A flag specifying whether to calculate the yield in terms of the biomass versus number of individuals.

type

A string indicating whether to include 'both' or just the 'actual' or 'optimal' yield.

all

A flag specifying whether to include all parameter values.

Value

A data frame.

Methods (by class)

  • ypr_population: Tabulate Yield

  • ypr_populations: Tabulate Yield

See Also

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

Examples

Run this code
# NOT RUN {
ypr_tabulate_yield(ypr_population())
ypr_tabulate_yield(ypr_populations(Rk = c(3, 5)))
# }

Run the code above in your browser using DataLab