Learn R Programming

r4ss (version 1.11)

SSsummarize: Summarize the output from multiple Stock Synthesis models.

Description

Summarize various quantities from the model output collected by SSgetoutput and return them in a list of tables and vectors.

Usage

SSsummarize(biglist, keyvec = NULL, numvec = NULL, selfactor =
c("Lsel"), selfleet = NULL, selyear = "min", selgender = 1, filter=TRUE,
growthyr = 1971)

Arguments

biglist
A list of lists created by SSgetoutput.
keyvec
Optional list of strings matching names of elements of biglist to subset. Default=NULL.
numvec
Optional list of numbers of elements from biglist to subset. Default=NULL.
selfactor
A string or vector of strings indicating which elements of the selectivity at length output to summarize. Default=c("Lsel").
selfleet
Vector of fleets for which selectivity will be summarized. NULL=all fleets. Default=NULL.
selyear
String or vector of years for which selectivity will be summarized. NULL=all years, "min" = first year, "max" = last year. Default="min".
selgender
Vector of genders (1 and/or 2) for which selectivity will be summarized. NULL=all genders. Default=NULL.
filter
Switch to control whether columns in derived quantities are filtered so they match between models with different numbers of estimated parameters. Warning: not generalized at all.
growthyr
Single year for which growth is to be summarized. Default=1971 (works for Ian's application, but needs to be generalized).

Value

    See Also

    SSgetoutput SSrunsims