Learn R Programming

⚠️There's a newer version (1.44.0) of this package.Take me there.

r4ss (version 1.14)

R code for Stock Synthesis

Description

Functions for reading output, plotting, exploring and manipulating input files for Richard Methot's Stock Synthesis fisheries stock assessment modeling platform.

Copy Link

Version

Install

install.packages('r4ss')

Monthly Downloads

373

Version

1.14

License

MIT License

Maintainer

Ian Taylor

Last Published

February 18th, 2011

Functions in r4ss (1.14)

SS_changepars

Change parameters in the control file.
SS_parlines

Get parameter lines from Stock Synthesis control file
SS_readforecast

read forecast file
SS_fitbiasramp

Estimate bias adjustment for recruitment deviates
SS_makedatlist

make a list for SS data
SSgetoutput

Get output from multiple Stock Synthesis models.
update_r4ss_files

Updates r4ss files to newest versions on web.
SS_readctl

read control file
SS_recdevs

Insert a vector of recruitment deviations into the control file.
SSplotComparisons

plot model comparisons
DoProjectPlots

Make plots from Rebuilder program
stackpoly

function "stackpoly" by Jim Lemon from "plotrix" package
SS_output

A function to create a list object for the output from Stock Synthesis
SSsummarize

Summarize the output from multiple Stock Synthesis models.
IOTCmove

Make a map of movement for a 5-area Indian Ocean model
SSplotMnwt

Plot mean weight data and fits.
SSplotRecdist

Plot of recruitment distribution among areas and seasons
movepars

explore movement parameterizations
SS_plots

plot many quantities related to output from Stock Synthesis
SS_readstarter

read starter file
SSplotIndices

Plot indices of abundance and associated quantities.
SS_profile

Run a likelihood profile in Stock Synthesis.
SSplotMovementRates

Show movement rates on a map.
SSplotTags

Plot tagging data and fits
SSv3_plots

old plot funciton
make_multifig

Create multi-figure plots.
selfit

A function to visual parameterization of double normal and double logistic selectivity in Stock Synthesis
SSplotComps

Plot composition data and fits.
SSv3_output

Old output reader
SSplotSpawnrecruit

Plot spawner-recruit curve.
SSgetMCMC

Read MCMC output.
plotCI

Plot points with confidence intervals.
sel.line

a function for drawing selecitivity curves
SSplotMovementMap

Show movement rates on a map.
SSmakesims

Make files and set up folders for simulations
rich.colors.short

Make a vector of colors.
SS_readdat

read data file
SS_writedat

write data file
SSrunsims

Run a collection of simulations for Stock Synthesis.
SSplotTimeseries

Plot timeseries data
SSplotSPR

Plot SPR quantities.
mcmc.nuisance

Summarize nuisance MCMC output
SSplotBiology

Plot biology related quantities.
SS_writestarter

write starter file
addSSsummarize

Add a model to the list of models to compare
SSplotYield

Plot yield and surplus production.
SS_splitdat

Split apart bootstrap data to make input file.
SS_writeforecast

write forecast file
r4ss-package

R tools for Stock Synthesis
SSplotMCMC_ExtraSelex

Plot uncertainty around chosen selectivity ogive from MCMC.
SSplotPars

Plot distributions of priors, posteriors, and estimates.
mcmc.out

Summarize, analyze and plot key MCMC output.
SSplotSelex

Plot selectivity
bubble3

Create a bubble plot.
mountains

Make shaded polygons with a mountain-like appearance
SS_writectl

write control file
SSplotCatch

Plot catch related quantities.
SSplotNumbers

Plot numbers-at-age related data and fits.
SSplotDiscard

Plot fit to discard fraction.
SSFishGraph

A function for converting Stock Synthesis output to the format used by FishGraph
SSplotData

Timeline of presence/absence of data by type, year, and fleet.
SSplotRecdevs

Plot recruitment deviations
SStableComparisons

make table comparing quantities across models