R/week.to.date.R

week.to.date <-
function(week) {
  as.Date(paste(week, "1", sep=""), "%YW%U%u") - 1
}

Try the RTConnect package in your browser

Any scripts or data that you put into this service are public.

RTConnect documentation built on May 2, 2019, 1:43 p.m.