Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ypr (version 0.4.0)

ypr_tabulate_yields: Tabulate Yields

Description

Tabulate Yields

Usage

ypr_tabulate_yields(object, ...)

# S3 method for ypr_population ypr_tabulate_yields( object, pi = seq(0, 1, length.out = 100), Ly = 0, harvest = TRUE, biomass = FALSE, all = FALSE, ... )

# S3 method for ypr_populations ypr_tabulate_yields( object, pi = seq(0, 1, length.out = 100), Ly = 0, harvest = TRUE, biomass = FALSE, all = FALSE, ... )

Arguments

object

The populations or populations.

...

Unused parameters.

pi

A vector of probabilities of capture to calculate the yield for.

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.

all

A flag specifying whether to include all parameter values.

Value

A data frame.

Methods (by class)

  • ypr_population: Tabulate Yields

  • ypr_populations: Tabulate Yields

See Also

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

Examples

Run this code
# NOT RUN {
ypr_tabulate_yields(ypr_population())
ypr_tabulate_yields(ypr_populations(Rk = c(3, 5)), pi = seq(0, 1, length.out = 10))
# }

Run the code above in your browser using DataLab