README.md

shinyypr

lifecycle Travis build
status AppVeyor build
status Codecov test
coverage License:
MIT CRAN
status CRAN downloads

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")

To install the latest developmental release from the Poisson drat repository

install.packages("drat")
drat::addRepo("poissonconsulting")
install.packages("shinyypr")

Demonstration

### 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.

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



Try the shinyypr package in your browser

Any scripts or data that you put into this service are public.

shinyypr documentation built on March 25, 2020, 1:06 a.m.