create_caal_nonsurvey: Generate CAAL compositions from any dataset

View source: R/create_caal_nonsurvey.R

create_caal_nonsurveyR Documentation

Generate CAAL compositions from any dataset

Description

Generate CAAL compositions from any data, e.g., Laurel Lam's thesis data.

Usage

create_caal_nonsurvey(
  Data,
  agebin,
  lenbin,
  wd,
  append,
  seas,
  fleet,
  partition,
  ageEr
)

Arguments

Data

A data frame with columns for "Year", "Sex", "Len_Bin_FL", and "Ages"

agebin

A vector of lower and upper age bins, i.e., the range.

lenbin

A vector of lower and upper length bins, i.e., the range.

wd

The directory where you want the output saved.

append

A character value supplying text that will be appened to the beginning of a standard file name.

seas

A numeric value supplying the season for this fleet.

fleet

An integer value for the fleet.

partition

An integer value supplying the partition.

ageEr

An integer value supplying the ageing error matrix to use for this fleet.

Author(s)

Brian J. Langseth modified code from Chatel R. Wetzel


iantaylor-NOAA/Lingcod_2021 documentation built on Oct. 30, 2024, 6:42 p.m.