getMDFR.ZScores.PrNatZ1: Get residuals from size frequency fits as dataframe

View source: R/getMDFR.ZScores.PrNatZ1.R

getMDFR.ZScores.PrNatZ1R Documentation

Get residuals from size frequency fits as dataframe

Description

Get Pearson's residuals and negative log-likelihood components from size frequency fits as dataframe.

Usage

getMDFR.ZScores.PrNatZ1(
  fits,
  mc,
  type = c("pearsons", "nlls"),
  verbose = FALSE
)

Arguments

fits
  • list of fits

mc
  • model configuration list

type
  • type of residuals ('pearsons' or 'nlls')

verbose
  • flag (T/F) to print dagnostic info

Details

Uses reshape2::melt(...). Returned dataframe has columns:

  • x - sex

  • m - maturity

  • s - shell condition

  • y - year

  • z - size bin

  • val - value

  • type - variable type

Value

dataframe


wStockhausen/rTCSAM02 documentation built on April 16, 2024, 6:25 a.m.