Package: ypr 0.6.0.9007

Joe Thorley

ypr: Yield Per Recruit

An implementation of equilibrium-based yield per recruit methods. Yield per recruit methods can used to estimate the optimal yield for a fish population as described by Walters and Martell (2004) <isbn:0-691-11544-3>. The yield can be based on the number of fish caught (or harvested) or biomass caught for all fish or just large (trophy) individuals.

Authors:Joe Thorley [aut, cre], Ayla Pearson [ctb], Poisson Consulting [cph, fnd]

ypr_0.6.0.9007.tar.gz
ypr_0.6.0.9007.zip(r-4.5)ypr_0.6.0.9007.zip(r-4.4)ypr_0.6.0.9007.zip(r-4.3)
ypr_0.6.0.9007.tgz(r-4.4-any)ypr_0.6.0.9007.tgz(r-4.3-any)
ypr_0.6.0.9007.tar.gz(r-4.5-noble)ypr_0.6.0.9007.tar.gz(r-4.4-noble)
ypr_0.6.0.9007.tgz(r-4.4-emscripten)ypr_0.6.0.9007.tgz(r-4.3-emscripten)
ypr.pdf |ypr.html
ypr/json (API)
NEWS

# Install 'ypr' in R:
install.packages('ypr', repos = c('https://poissonconsulting.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/poissonconsulting/ypr/issues

Pkgdown:https://poissonconsulting.github.io

Datasets:
  • adams_bt_03 - Adams Lake Bull Trout Population Parameters
  • chilliwack_bt_05 - Chilliwack Lake Bull Trout Populations Parameters
  • kootenay_bt_13 - Kootenay Lake Bull Trout Population Parameters
  • kootenay_rb - Kootenay Lake Rainbow Trout Population Parameters
  • kootenay_rb_13 - Kootenay Lake Rainbow Trout Population Parameters
  • quesnel_bt - Quesnel Lake Bull Trout Population Parameters
  • quesnel_lt - Quesnel Lake Lake Trout Population Parameters
  • quesnel_rb - Quesnel Lake Rainbow Trout Population Parameters

On CRAN:

yield-per-recruit

7.69 score 7 stars 1 packages 55 scripts 198 downloads 45 exports 39 dependencies

Last updated 2 hours agofrom:a3e2015553. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 20 2024
R-4.5-winNOTEDec 20 2024
R-4.5-linuxNOTEDec 20 2024
R-4.4-winNOTEDec 20 2024
R-4.4-macNOTEDec 20 2024
R-4.3-winNOTEDec 20 2024
R-4.3-macNOTEDec 20 2024

Exports:as_tibbleas_ypr_ecotypesas_ypr_populationas_ypr_populationscheck_ecotypescheck_populationcheck_populationsis_ypr_ecotypesis_ypr_populationis_ypr_populationsis.ypr_ecotypesis.ypr_populationis.ypr_populationsypr_age_at_lengthypr_detabulate_parametersypr_ecotypesypr_exploitationypr_get_parypr_length_at_ageypr_namesypr_optimiseypr_optimizeypr_plot_biomassypr_plot_fishypr_plot_scheduleypr_plot_srypr_plot_yieldypr_populationypr_population_namesypr_population_updateypr_populationsypr_populations_expandypr_reportypr_scheduleypr_srypr_tabulate_biomassypr_tabulate_fishypr_tabulate_parametersypr_tabulate_scheduleypr_tabulate_srypr_tabulate_yieldypr_tabulate_yieldsypr_updateypr_yieldypr_yields

Dependencies:chkclicolorspacecpp11dplyrfansifarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrR6RColorBrewerrlangscalesstringistringrtibbletidyplustidyrtidyselectutf8vctrsviridisLitewithryesno

Ecotypes

Rendered fromecotypes.Rmdusingknitr::rmarkdownon Dec 20 2024.

Last update: 2024-10-18
Started: 2022-05-02

Get Started with ypr

Rendered fromypr.Rmdusingknitr::rmarkdownon Dec 20 2024.

Last update: 2022-05-02
Started: 2018-08-08

Readme and manuals

Help Manual

Help pageTopics
Adams Lake Bull Trout Population Parameters (2003)adams_bt_03
Coerce to an Ecotypes Objectas_ypr_ecotypes as_ypr_ecotypes.data.frame as_ypr_ecotypes.ypr_ecotypes as_ypr_ecotypes.ypr_population as_ypr_ecotypes.ypr_populations
Coerce to a Population Objectas_ypr_population as_ypr_population.data.frame as_ypr_population.ypr_ecotypes as_ypr_population.ypr_population as_ypr_population.ypr_populations as_ypr_populations.data.frame
Coerce to a Populations Objectas_ypr_populations as_ypr_populations.ypr_ecotypes as_ypr_populations.ypr_population as_ypr_populations.ypr_populations
Check Ecotypescheck_ecotypes
Check Populationcheck_population
Check Populationscheck_populations
Chilliwack Lake Bull Trout Populations Parameters (2005)chilliwack_bt_05
Tests if is a Population, Populations or Ecotypesis.ypr_ecotypes is.ypr_population is.ypr_populations is_ypr_ecotypes is_ypr_population is_ypr_populations
Kootenay Lake Bull Trout Population Parameters (2013)kootenay_bt_13
Kootenay Lake Rainbow Trout Population Parameterskootenay_rb
Kootenay Lake Rainbow Trout Population Parameters (2013)kootenay_rb_13
Plot Population Scheduleplot.ypr_population
Quesnel Lake Bull Trout Population Parametersquesnel_bt
Quesnel Lake Lake Trout Population Parametersquesnel_lt
Quesnel Lake Rainbow Trout Population Parametersquesnel_rb
Age At Lengthypr_age_at_length
Detabulate Population Parametersypr_detabulate_parameters
Create Ecotypes Objectypr_ecotypes
Exploitation Probabilityypr_exploitation
Get Parameter Valueypr_get_par
Length At Ageypr_length_at_age
Population(s) or Ecotype Namesypr_names ypr_names.ypr_ecotypes ypr_names.ypr_population ypr_names.ypr_populations
Optimize Captureypr_optimise ypr_optimize
Plot Biomassypr_plot_biomass
Plot Fishypr_plot_fish
Plot Population or Ecotypes Schedule Termsypr_plot_schedule
Plot Stock-Recruitment Curveypr_plot_sr
Plot Yield by Captureypr_plot_yield ypr_plot_yield.default ypr_plot_yield.ypr_populations
Population Parametersypr_population
Population Namesypr_population_names
Update a Population Objectypr_population_update
Populationsypr_populations
Expand Populationsypr_populations_expand
Reportypr_report
Stock-Recruitment Parametersypr_sr
Tabulate Biomass (and Eggs)ypr_tabulate_biomass
Tabulate Fish Numbersypr_tabulate_fish
Tabulate Population Parametersypr_tabulate_parameters
Life-History Scheduleypr_tabulate_schedule ypr_tabulate_schedule.ypr_ecotypes ypr_tabulate_schedule.ypr_population
Tabulate Stock-Recruitment Parametersypr_tabulate_sr ypr_tabulate_sr.default ypr_tabulate_sr.ypr_populations
Tabulate Yieldypr_tabulate_yield ypr_tabulate_yield.default ypr_tabulate_yield.ypr_populations
Tabulate Yieldsypr_tabulate_yields ypr_tabulate_yields.default ypr_tabulate_yields.ypr_populations
Update a YPR Object Currently just works with scalar parameters for populations and ecotypes.ypr_update ypr_update.ypr_ecotypes ypr_update.ypr_population ypr_update.ypr_populations
Yieldypr_yield
Yieldsypr_yields