View source: R/match_month_day.r
match_month_day | R Documentation |
Create an indicator variables for a specific month and day.
match_month_day(x, date_string)
x |
Numeric tis object. |
date_string |
Character string; Month and day of the date (Example - January 1 is '0101'). |
An indicator variable where the week that contains the date entered = 1, 0 otherwise.
july4_wed <- match_month_day(ic_week, '0707')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.