replace all occurrences of
sapply(1:dim(pred)[1],function(x) paste(.incSampleTime(period.freq =
period.freq, now = end_serie,increment =x),collapse="-"))
with
BuildPeriodRange
PS: if possible, do not duplicate lines of code! create a function and call it.
The code is cleaner, more readable and usually with less bugs
Original issue reported on code.google.com by matteo.redaelli on 20 Apr 2011 at 8:44
Original issue reported on code.google.com by
matteo.redaelli
on 20 Apr 2011 at 8:44