The goal of rrViewer is to assist in QA/QC for the [Coho] run reconstruction process for the FRAM team at WDFW.
Installation
You can install the development version of rrViewer from GitHub with:
# install.packages("pak")
pak::pak("cbedwards-dfw/rrViewer")
Example
There are two key functions in this package. read_rr_trs()
reads in an excel file of the run reconstruction. plot_rr_mu()
then plots timeseries of fisheries and totals for a given stock (the identifies of the blocks in the run reconstruction excel file) and management unit (the rows within a block). By default plot_rr_mu()
calcuates the proportional values across fisheries for a given year, but can also be set to instead present the raw values in the excel file. list_rr_options()
can be used to identify stock
and management_unit_name
options for making plots.