Description Usage Arguments Value Author(s) Examples
Helper function to create a dummy, day of the week variable given a set of dates.
1 | WeekDayDummy(Dates, date.format, weekday = "Monday")
|
Dates |
A character vector of dates . |
date.format |
The format of the dates e.g. “%Y-%m-%d"” . |
weekday |
Character string indicating day of week. |
A numeric vector of 0s and 1s (date-dummy variable)/
Alexios Ghalanos
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.