weeklyStrata: Generate weekly strata

View source: R/weeklyStrata.R

weeklyStrataR Documentation

Generate weekly strata

Description

Based on spawn year and species

Usage

weeklyStrata(
  start_date = NULL,
  end_date = NULL,
  strata_beg = "Mon",
  last_strata_min = 3
)

Arguments

start_date

character vector of date (YYYYMMDD) when query should start

end_date

character vector of date (YYYYMMDD) when query should end

strata_beg

3 letter code for the day of the week each weekly strata should begin on. Default value is 'Mon'.

last_strata_min

minimum length (in days) for the final strata. Default value is 3.

Author(s)

Kevin See

Examples

weeklyStrata(2010:2012)

KevinSee/STADEM documentation built on May 14, 2022, 3:23 a.m.