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.
To install the latest release from CRAN
To install the developmental version from GitHub
install.packages("remotes")
remotes::install_github("poissonconsulting/shinyypr")
To install the latest developmental release from the Poisson drat repository
install.packages("drat")
drat::addRepo("poissonconsulting")
install.packages("shinyypr")
### 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.
For more information see the ypr
R package Get
Started
vignette.
Please report any issues.
Pull requests are always welcome.
Please note that this project is released with a Contributor Code of Conduct. By contributing, you agree to abide by its terms.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.