function for the weeks (including the date-from and date-to)

split_year_in_weeks(year)

Arguments

year

an integer value specifying the year

Value

a sequence of Dates of class 'Date'

References

https://statistics.berkeley.edu/computing/faqs/dates-and-times-r