AgeStructureComp: Age-Structure Comparison

Description Usage Arguments Value Examples

View source: R/AgeStructureComp.R

Description

Compare and plot age-structured models

Used within the run_GeMS function, can also be run on its own.

Usage

1
2
AgeStructureComp(out, RetroPeels = 6, CTLNameList, MSEdir,
  plotNames = NA, Nruns = NA, plottiff = F)

Arguments

out

List output from ReadCTLfile

RetroPeels

Number of years to peel for retrospective analysis

CTLNameList

Vector of CTL file names

MSEdir

Directory containing CTL files

plotNames

Vector of the same length as CTLNameList with "prettier" names for plotting

Nruns

Number of runs to plot in Population Processes plots (selectivity and growth)

plottiff

Logical; make plots in TFF instead of PNG?

Value

Plots comparing age-structured estimating models

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
MSEdir <- "~/GeneralMSE/Examples/Cod_5_AgeStructure"
OMNames <- c("Cod_AgeStructure_CTL","Cod_Age_Mvary_CTL","Cod_Age_Mvary_estM_CTL")
out <- ReadCTLfile(OMNames[1])
AgeStructureComp(out=out,
                 CTLNameList=OMNames,
                 MSEdir=MSEdir,
                 plotNames=c("Base","Fixed M","Estimate M"))

## End(Not run)

szuwalski/GeMS documentation built on Oct. 2, 2019, 5:55 a.m.