A collection of R functions for use with Stock Synthesis, a fisheries stock assessment modeling platform written in ADMB by Dr. Richard D. Methot at the NOAA Northwest Fisheries Science Center. The functions include tools for summarizing and plotting results, manipulating files, visualizing model parameterizations, and various other common stock assessment tasks.
Stock Synthesis is a fisheries stock assessment model written in ADMB by Dr. Rick Methot at the NOAA Northwest Fisheries Science Center. The R code in the r4ss package is based on the original work of Dr. Ian Stewart begun around 2005 and released as an open source R package on CRAN in 2009. The package has benefited from contributions, suggestions, and bug reports from many collaborators and users.
Code available on this website comes with no warranty or guarantee of accuracy. It merely represents an ongoing attempt to integrate output plotting, statistics and diagnostics. It is absolutely necessary that prior to use with a new application, the user checks the output manually to verify that there are no plotting or statistical bugs which could incorrectly represent the output files being analyzed.
The latest r4ss version on CRAN can be installed using a command like
To get notifications about r4ss, you can watch this GitHub project and/or join the r4ss email list: https://groups.google.com/forum/#!forum/r4ss
Additional information about r4ss at the old Google Code page, https://code.google.com/p/r4ss/, will be migrated over to GitHub in the future.
More frequent enhancements and bug fixes are posted to this GitHub project. The latest version of r4ss can be installed directly from Github at any time via the
devtools package in R with the following commands:
Note: devtools will give this message: "WARNING: Rtools is required to build R packages, but is not currently installed." However, Rtools is NOT required for installing r4ss via devtools, so ignore the warning.
Once you have installed the r4ss package, it can be loaded in the regular manner:
See NEWS.md for log of changes, starting with v1.24.0.
On January 15th, 2015 and included in CRAN submission of v1.24.0, a variety of changes that were in a branch on this GitHub site have now been merged into the main code. If anything doesn't work for you, you can install an earlier version from GitHub using the devtools command:
Some of these things surely won't work right for any particular model configuration. If so, please email Ian Taylor or post an "issue" on this GitHub site at https://github.com/r4ss/r4ss/issues
First CRAN update since r4ss 1.22.1 in July 2014.
Variety of new defaults in plots
Help from various new contributors
See https://github.com/r4ss/r4ss for more detail on changes and new features