Merge Year, Week(0-53) and Days(1-31) as date problem

Dear Everybody,

My exercise is to make a plot diagram according to date for different amounts. In my table, I have CalendarYear, CalendarWeeknumber and CalendarDay columns. I would like to merge all of it together as a date. I was trying use the MMWRweek package with the code:

MMWRweek2Date(CalendarYear,CalendarWeekNumber,CalendarDay)

But my problem is, that the the days are given as month dates (1-31) and for this function i would need them (1-7 as the week days). Does anybody know how to solve this problem?
Kind regards: Zsozsi

A post was merged into an existing topic: Converting week number and year into date