first_of_yw() is equivalent with first_of_isoweek() and only included
for symmetry with first_of_yq() and first_of_ym().
first_of_isoweek(x) # S3 method for default first_of_isoweek(x) last_of_isoweek(x) # S3 method for default last_of_isoweek(x) first_of_yw(x, w = NULL) last_of_yw(x, w = NULL)
| x | Anything that can be coerced to a date with |
|---|---|
| w | Two integer (vectors).
|
a Date
first_of_isoweek()
first_of_isoweek("2016-06-04")#> [1] "2016-05-30"last_of_isoweek("2016-06-04")#> [1] "2016-06-05"first_of_yw(2016)#> [1] "20-04-13"first_of_yw(2016)#> [1] "20-04-13"