The "splink" R package can be installed from GitHub with:
# Run if you don't already have devtools installed
install.packages("devtools")
# Run once devtools is successfully installed
devtools::install_github("cfree14/splink", force=T)
library(splink)
The package implements functions to:
?fit_sr
?fit_sp
?get_results
?plot_results
?plot_thetas
?plot_fits
?calc_msy
The fitting functions allow covariate estimates to be estimated as either fixed or random effects. The production model can be fit using a user-specified shape parameter and the stock recruit model can be fit using either a Ricker or Beverton-Holt stock recruit relationship.
Free CM (2021) splink: Covariate-linked population dynamics models. Available at: https://github.com/cfree14/splink/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.