Tabulate Yield
Usage
ypr_tabulate_yield(object, ...)
# Default S3 method
ypr_tabulate_yield(
object,
Ly = 0,
harvest = TRUE,
biomass = FALSE,
type = "both",
all = FALSE,
...
)
# S3 method for class 'ypr_populations'
ypr_tabulate_yield(
object,
Ly = 0,
harvest = TRUE,
biomass = FALSE,
type = "both",
all = FALSE,
...
)Arguments
- object
The population or populations.
- ...
These dots are for future extensions and must be empty.
- 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.
Methods (by class)
ypr_tabulate_yield(default): Tabulate Yieldypr_tabulate_yield(ypr_populations): Tabulate Yield
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_yields()
Other populations:
as_ypr_populations(),
chilliwack_bt_05,
ypr_plot_yield(),
ypr_populations(),
ypr_populations_expand(),
ypr_tabulate_sr(),
ypr_tabulate_yields()
Other yield:
ypr_plot_yield(),
ypr_yield(),
ypr_yields()
Examples
ypr_tabulate_yield(ypr_population())
#> # A tibble: 2 × 8
#> Type pi u Yield Age Length Weight Effort
#> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 actual 0.2 0.2 0.0422 6.77 62.1 2580. 2.12
#> 2 optimal 0.115 0.115 0.0670 7.36 64.6 2933. 1.16
ypr_tabulate_yield(ypr_populations(Rk = c(3, 5)))
#> # A tibble: 4 × 9
#> Type pi u Yield Age Length Weight Effort Rk
#> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 actual 0.2 0.2 0.0422 6.77 62.1 2580. 2.12 3
#> 2 optimal 0.115 0.115 0.0670 7.36 64.6 2933. 1.16 3
#> 3 actual 0.2 0.2 0.116 6.77 62.1 2580. 2.12 5
#> 4 optimal 0.183 0.183 0.117 6.87 62.6 2641. 1.92 5
