weeklyStrata: Generate weekly strata

Description Usage Arguments Author(s) Examples

View source: R/weeklyStrata.R

Description

Based on spawn year and species

Usage

1
2
3
4
5
6
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

1
weeklyStrata(2010:2012)

KevinSee/STADEM documentation built on June 20, 2021, 11:13 p.m.