Introduction

shinyypr is an R package that provides a user interface to the ypr R package. ypr implements equilibrium-based yield per recruit methods for estimating the optimal yield for a fish population.

Installation

To install the latest release from CRAN

To install the developmental version from GitHub

install.packages("remotes")
remotes::install_github("poissonconsulting/shinyypr")

Demo App

Demo

How to Launch Locally

### run app with default parameter settings
shinyypr::run_ypr_app()

### provide parameter settings by passing a ypr_population object to the run_ypr_app function
adams <- ypr::adams_bt_03
adams_adjusted <- ypr::ypr_population_update(adams, "Rk" = 5, "Linf" = 140)
shinyypr::run_ypr_app(adams_adjusted)

shinyypr also ships with an RStudio addin.

Information

For more information see the ypr R package Get Started vignette.

Contribution

Please report any issues.

Pull requests are always welcome.

Code of Conduct

Please note that the shinyypr project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.