SPoRC is a flexible modeling framework for spatially structured population dynamics. It accounts for stochasticity in vital rates and movement among geographically defined components. The framework supports:
Thus, SPoRC is suitable for both single-region and spatial stock assessment applications.
SPoRC is implemented in RTMB and optionally relies on additional packages for plotting and diagnostics.
Ensure the following packages are installed:
install.packages("devtools") # Development tools
install.packages("TMB") # Template Model Builder
install.packages("RTMB") # R interface to TMB
TMB:::install.contrib("https://github.com/vtrijoulet/OSA_multivariate_dists/archive/main.zip") # Optional: multivariate OSA distributions
remotes::install_github("fishfollower/compResidual/compResidual") # Optional OSA residuals
pak::pak("chengmatt/SPoRC")
For the dev branch, users can run the following:
pak::pak("chengmatt/SPoRC@dev-popn-seasons")
This repository is a scientific product and is not official communication of the National Oceanic and Atmospheric Administration, or the United States Department of Commerce. All NOAA GitHub project code is provided on an 'as is' basis and the user assumes responsibility for its use. Any claims against the Department of Commerce or Department of Commerce bureaus stemming from the use of this GitHub project will be governed by all applicable Federal law. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by the Department of Commerce. The Department of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by DOC or the United States Government.