UnexpandedLFs.fn: Creates a matrix of length or age composition data WITHOUT...

View source: R/unexpandedLF.fn.R

UnexpandedLFs.fnR Documentation

Creates a matrix of length or age composition data WITHOUT expantion Written by Chantel Wetzel to work with the data warehouse data formatting,

Description

Creates a matrix of length or age composition data WITHOUT expantion Written by Chantel Wetzel to work with the data warehouse data formatting,

Usage

UnexpandedLFs.fn(
  dir = NULL,
  datL,
  lgthBins = 1,
  sex = 3,
  partition = 0,
  fleet = "Enter Fleet",
  ageErr = "NA",
  agelow = -1,
  agehigh = -1,
  month = "Enter Month",
  printfolder = "forSS",
  verbose = TRUE
)

Arguments

dir

directory this is where the output files will be saved

datL

the read in length comps by the PullBio.fn function

lgthBins

length bins

sex

(0 = unsexed, 1 = females, 2 = males, 3 = females then males) sex value for Stock Synthesis

partition

partition for Stock Synthesis

fleet

fleet number

ageErr

Number of ageing error matrix for SS

agelow

age bin for SS (default value of -1)

agehigh

age bin for SS (default value of -1)

month

month the samples were collected

printfolder

folder where the length comps will be saved

verbose

A logical that specifies if you want to print messages and warnings to the console. The default is TRUE.

Author(s)

Chantel Wetzel


nwfsc-assess/nwfscSurvey documentation built on May 5, 2024, 5:21 a.m.