ypr_tabulate_yields: Tabulate Yields

View source: R/tabulate-yields.R

ypr_tabulate_yieldsR Documentation

Tabulate Yields

Description

Tabulate Yields

Usage

ypr_tabulate_yields(object, ...)

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

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

Arguments

object

The population 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_tabulate_yields(default): Tabulate Yields

  • ypr_tabulate_yields(ypr_populations): Tabulate Yields

See Also

Other tabulate: ypr_detabulate_parameters(), ypr_report(), ypr_tabulate_biomass(), ypr_tabulate_fish(), ypr_tabulate_parameters(), ypr_tabulate_schedule(), ypr_tabulate_sr(), ypr_tabulate_yield()

Other populations: as_ypr_populations(), chilliwack_bt_05, ypr_plot_yield(), ypr_populations_expand(), ypr_populations(), ypr_tabulate_sr(), ypr_tabulate_yield()

Examples

ypr_tabulate_yields(ypr_population())
ypr_tabulate_yields(
  ypr_populations(
    Rk = c(3, 5)
  ),
  pi = seq(0, 1, length.out = 10)
)
ypr_tabulate_yields(ypr_ecotypes(Linf = c(10, 20)))

ypr documentation built on Aug. 30, 2022, 1:11 a.m.