expand_season: expand a seasonal pattern string in months to a vector of...

Description Usage Arguments Value Examples

Description

initially assumes 28 days per month (4*7 day weeks) 336 day year

Usage

1
expand_season(season_string = "6:0.1;6:0.9", return_tstep = "days")

Arguments

season_string

a season string of months:value;months:value e.g. "6:0.1;6:0.9", or value;value for 1 month each

return_tstep

either 'months', 'weeks' or 'days'[default]

Value

a vector of values by day

Examples

1
2
tst <- expand_season(season_string="6:0.1;6:0.9")
tst <- expand_season(season_string="0.1;0.2;0.3")

AndySouth/resistanceGame documentation built on May 5, 2019, 6:01 a.m.