extractFits.ZScores.PrNatZ: Extract Pearson's or nll residuals from size comps by fleet...

View source: R/extractFits.ZScores.PrNatZ.R

extractFits.ZScores.PrNatZR Documentation

Extract Pearson's or nll residuals from size comps by fleet among several model runs as dataframe

Description

Function to extract Pearson's or nll residuals from size comps by fleet among several model runs.

Usage

extractFits.ZScores.PrNatZ(
  objs = NULL,
  fleets = "all",
  fleet.type = c("survey", "fishery"),
  catch.type = c("index", "retained", "total"),
  residuals.type = c("pearsons", "nlls"),
  tcsam2013.type = c("PRs_yxmz", "PRs_yxz"),
  verbose = FALSE
)

Arguments

objs
  • object that can be converted into a list of tcsam2013.resLst and/or tcsam02.resLst objects

fleets
  • names of fleets to include (or "all" or NULL to include all)

fleet.type
  • fleet type ('fishery' or 'survey')

catch.type
  • catch type ('index','retained',or 'total')

residuals.type
  • residual type for tcsam02 models ('pearsons' or 'nlls')

tcsam2013.type
  • pearsons residuals type for tcsam2013 models ("PRs_yxmz","PRs_yxz")

verbose
  • flag (T/F) to print diagnostic information

Details

Uses rTCSAM2013::getMDFR.SurveyQuantities(), rTCSAM2013::getMDFR.FisheryQuantities(), rTCSAM02::getMDFR.ZScores.PrNatZ(). Also uses wtsUtilities::printGGList.

Value

dataframe in format for compareFits.ZScores.PrNatZ.


wStockhausen/rCompTCMs documentation built on Aug. 27, 2024, 7:15 p.m.