search for: new_period

Displaying 1 result from an estimated 1 matches for "new_period".

Did you mean: net_period
2011 Oct 23
1
Creating 2 week intervals (lubridate)
...000/11/29 My first approach was toa vector of the two week time periods (like below) and then match my dates with the intervals. But this did not work. DataInterval<-rep(NA, 316) TwoWeekint<-function(date) { for (i in 1:316) new.day<-i*14 DataInterval[i]<-as.interval(new_period(days=new.day), ymd("2000-11-17")) } Thanks! RK [[alternative HTML version deleted]]