make_week_index | R Documentation |
Make an index data.frame associating week index (wid) to a iso yearweek number
make_week_index(yw, col.yw = "yw", col.idx = "wid", stamp = F)
yw |
int vector of yearweek number |
col.yw |
chr[1] name of the yw column in the resulting data.frame |
col.idx |
char[1] name of the week index column in the resulting data.frame |
stamp |
logical use weekstamp instead of order of the week (depends on the range of weeks) |
data.frame(yw=int,wid=int) yw=yearweek number, wid=index of the yw
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.