classicCC: classicCC conducts a naive catch curve on the input data

View source: R/catchcurve.r

classicCCR Documentation

classicCC conducts a naive catch curve on the input data

Description

classicCC conducts a classical catch curve in which one selects the first age to be included in the calculation, assuming it is the first age to be fully selected in the fishery. It merely applies a linear regression to the log-transformed counts by age and subtracts the natural mortality from teh gradient (total mortality) to obtain an estimate of the fishing mortality experienced on average across the age-classes included in the analysis.

Usage

classicCC(NM, ages, freqs, firstage = 0, plot = TRUE)

Arguments

NM

an estimate of the natural mortality

ages

the age classes encountered in the sample to be analysed

freqs

the counts of each age-class in the sample

firstage

the first age assumed to be fully selected by the fishing gear. younger ages are not included in the analysis.

plot

a boolean determining whether to plot the catch curve, default is TRUE

Value

a list containing the estimated fishing mortality, FF, the regression coefficients, and the model itself

Examples

## Not run: 
age <- 0:9
counts <- c(3,4,501,2531,936,233,76,17,5,1)
M <- 0.6
pickage <- 3
out <- classicCC(M,age,counts,pickage,plot=TRUE)
print(out)

## End(Not run)           # NM=glb$M; ages=ages;freqs=freqs;firstage=7;plot=TRUE

haddonm/datalowSA documentation built on Nov. 5, 2023, 6:40 p.m.