View source: R/createMaturityData.R
createMaturityData | R Documentation |
Title
createMaturityData(cap, catch, min_age = 3, max_age = 4, start_year, end_year)
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. |
min_age |
integer. Minimum age |
max_age |
integer. Maximum age |
start_year |
integer. Start year |
end_year |
integer. End year |
list, data argument for TMB
data(cap)
data(catch)
data <- createMaturityData(
cap = cap,
catch = catch,
min_age = 3,
max_age = 4,
start_year = 2017,
end_year = 2018)
str(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.