Learn R Programming

shinyypr

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.

Copy Link

Version

Install

install.packages('shinyypr')

Monthly Downloads

34

Version

0.0.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Sebastian Dalgarno

Last Published

March 24th, 2020

Functions in shinyypr (0.0.2)

shinyypr-package

shinyypr: Run Ypr Shiny App
mod_biomass_ui

mod_biomass_ui and mod_biomass_server
mod_fish_ui

mod_fish_ui and mod_fish_server
run_ypr_app

Run Shiny Application
mod_parameter_table_ui

mod_parameter_table_ui and mod_parameter_table_server
mod_recruitment_ui

mod_recruitment_ui and mod_recruitment_server
mod_parameters_ui

mod_parameters_ui and mod_parameters_server
mod_about_ui

mod_about_ui and mod_about_server
mod_schedule_ui

mod_schedule_ui and mod_schedule_server
mod_yield_ui

mod_yield_ui and mod_yield_server
mod_report_ui

mod_report_ui and mod_report_server