match_week | R Documentation |
Create an indicator variable for a specific week.
match_week(x_week, week_number)
x_week |
Numeric tis object. |
week_number |
Numeric scalar; Week of the year to match. |
An indicator variable where the observation that matches the week entered = 1, 0 otherwise.
xmas_w53 <- match_week(ic_week, 53)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.