Based on spawn year and species
weeklyStrata(
start_date = NULL,
end_date = NULL,
strata_beg = "Mon",
last_strata_min = 3
)
character vector of date (YYYYMMDD
) when query should start
character vector of date (YYYYMMDD
) when query should end
3 letter code for the day of the week each weekly strata should begin on. Default value is 'Mon'
.
minimum length (in days) for the final strata. Default value is 3.
weeklyStrata(2010:2012)
#> Warning: All formats failed to parse. No formats found.
#> Warning: All formats failed to parse. No formats found.
#> Error in if (endDate < startDate) stop("start_date comes after end_date"): the condition has length > 1