Learn R Programming

ypr (version 0.6.0)

ypr_tabulate_yields: Tabulate Yields

Description

Tabulate Yields

Usage

ypr_tabulate_yields(object, ...)

# S3 method for default 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, ... )

Value

A data frame.

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.

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

Run this code
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)))

Run the code above in your browser using DataLab