MakeLengthComp: Create Length Frequency Composition

Description Usage Arguments Value Author(s)

View source: R/MakeLengthComp.R

Description

MakeLengthCompFun is used to create a length frequency composition from raw length data.

Usage

1
2
MakeLengthComp(PathtoLenDat, LenDatFileName, LenDatExt = ".csv",
  Header = FALSE, Linc = 5, AssessPars, Multi = 1.25, sep = "period")

Arguments

PathtoLenDat

An object of class character that contains the full path to the raw length data file.

LenDatFileName

An object of class character that contains the name of the length data file.

LenDatExt

An object of class character that contains the extension of the length data file (default is ".csv" and currently does not handle anything else).

Header

An logical indicating if the first row of the CSV file is a header (Default is FALSE).

Linc

An numeric value indicating the width of the length class (in same units as AssessPars).

AssessPars

A list containing the parameters required for the LB-SPR assessment. Created by LoadAssessPars function.

Multi

An numeric object that specifies the maximum length class as a mulitiple of AssessPars$Linf.

sep

Decimals are indicated by "period" (default) or "comma"

Value

A list containing the Length Bins (LenBins), the Length Frequency (LenFreq) and the midpoints of the length bins (LenMids).

Author(s)

Adrian Hordyk


DanOvando/Old-LBSPR documentation built on May 6, 2019, 1:22 p.m.