create_isoweek | R Documentation |
Creates weeks in the format ISOweek from week and year provided as numerical formats
create_isoweek(week, year, reference.day = 1)
week |
the week of the year |
year |
the year |
reference.day |
the ISOweek format also stores the actual day of the week, creating a daily sequence. users can set a reference day. if only interested in weekly data, it's suggested to leave as the default reference.day=1 |
create_isoweek(11,2014) dates <- data.frame (week=1:10, year=2014) ISOweek <- create_isoweek(dates$week,dates$year) dates <- cbind(ISOweek,dates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.