survey_lcomps: Expand the length-composition data for a given survey

View source: R/survey_lcomps.R

survey_lcompsR Documentation

Expand the length-composition data for a given survey

Description

Expand length-composition data, which REQUIRES there to be lengths.

Usage

survey_lcomps(sname, doAgeRep = FALSE, dir = "data-raw")

Arguments

sname

A character value giving the survey name.

doAgeRep

A logical value.

dir

The upper directory where you would like the directories with the results returned from this function to be saved. The default is to use ⁠"data-raw". Survey-specific folders based on ⁠dirandsname' will be created.

Value

  1. csv files: the unsexed and sexed comps for north and south

  2. Figures: sex ratio and size frequency for north and south

Author(s)

Brian J. Langseth


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