classicCC | R Documentation |
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.
classicCC(NM, ages, freqs, firstage = 0, plot = TRUE)
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 |
a list containing the estimated fishing mortality, FF, the regression coefficients, and the model itself
## 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.