title: How can I group days into weeks?
body: <p>In R, how can I associate between a vector of dates (days) and weeks?</p>
  
  <p>Edit: "weeks" should be the week index within the date range and not within the year. My apologies for the ambiguity. </p>