View source: R/runMaturityYearByYear.R
runMaturityYearByYear | R Documentation |
Function for running maturity estimations year by year
runMaturityYearByYear(
cap,
catch,
initPar,
min_age = 3,
max_age = 4,
plot = TRUE
)
cap |
data.frame, cap table. Should contain the following column names: meanlength(cm), 1,2,3,4,5 and year, where 1-4 are ages and 5 is a 5+ group. |
catch |
data.frame, catches data. Should contain 14 columns including age, year and the remaining 12 for each month. |
initPar |
data.frame, initial values for p1,p2,p3 and nu by year |
min_age |
integer. Minimum age |
max_age |
integer. Maximum age |
plot |
logical, print plot (TRUE or FALSE) |
list/maturitybyyears object, containing estimation output and results
## Not run:
data(cap)
data(catch)
data(maturityInitialParameters)
result <- runMaturityYearByYear(cap,catch,
initPar = dplyr::filter(maturityInitialParameters,
agegr == "3-4"),
plot = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.