getMDFR.CanonicalFormat: Convert dataframe to canonical format

View source: R/getMDFR.CanonicalFormat.R

getMDFR.CanonicalFormatR Documentation

Convert dataframe to canonical format

Description

Function to convert dataframe to canonical format.

Usage

getMDFR.CanonicalFormat(mdfr)

Arguments

mdfr
  • dataframe to convert

Details

returns a dataframe in canonical format

  • case - model case name (scenario)

  • process - 'population','fisheries',or 'surveys'

  • fleet - fishery or survey "fleet" name

  • category - data category (e.g., "index", "captured", etc.)

  • type - 'observed' or 'predicted',or ”

  • pc - parameter combination index, or ”

  • y - year or 'all'

  • x - sex or 'all'

  • m - maturity state or 'all'

  • s - shell condition or 'all'

  • z - size or 'all'

  • zp - size, only for growth increments and growth transition matrices

  • val - value

  • lci - lower ci

  • uci - upper ci

Value

dataframe in canonical format, or NULL if input was not a dataframe


wStockhausen/rCompTCMs documentation built on Sept. 12, 2023, 3:13 p.m.