get_sampling_weeks: Get Weeks to sample

View source: R/dfmip.R

get_sampling_weeksR Documentation

Get Weeks to sample

Description

Create vectors of month, day, and year to use for running forecasts. Samples begin on Sunday of the week, starting with the first Sunday of the month

Usage

get_sampling_weeks(
  year,
  season_start_month,
  weeks_in_season,
  sample_frequency = 1
)

Arguments

year

The year in question

season_start_month

The first month of the mosquito season, as a number. E.g., July would be 7.

weeks_in_season

The number of weeks to sample

sample_frequency

How frequently sample (default, 1 = weekly) #**# Other options are not currently supported

Value

A list of three vectors: month.vec has months, day.vec has days, and year.vec contains years. These are all parallel to each other and need to be the same length


akeyel/dfmip documentation built on Sept. 3, 2022, 1:26 a.m.