Learn R Programming

ypr (version 0.4.0)

ypr_tabulate_sr: Tabulate Stock-Recruitment Parameters

Description

Tabulate Stock-Recruitment Parameters

Usage

ypr_tabulate_sr(object, ...)

# S3 method for ypr_population ypr_tabulate_sr( object, Ly = 0, harvest = TRUE, biomass = FALSE, all = FALSE, ... )

# S3 method for ypr_populations ypr_tabulate_sr( object, Ly = 0, harvest = TRUE, biomass = FALSE, 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.

all

A flag specifying whether to include all parameter values.

Value

A data.frame of stock-recruitment parameters.

Methods (by class)

  • ypr_population: Tabulate Stock-Recruitment Parameters

  • ypr_populations: Tabulate Stock-Recruitment Parameters

See Also

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

Examples

Run this code
# NOT RUN {
ypr_tabulate_sr(ypr_population()) # Beverton-Holt
ypr_tabulate_sr(ypr_population(BH = 0L)) # Ricker
ypr_tabulate_sr(ypr_populations(Rk = c(2.5, 4.6)))
# }

Run the code above in your browser using DataLab