Function is slow because of as.character.Date() is slow. Easiest solution is see if there is a workaround, so we can keep determining the intervals on characters. Worst case, we need to find a different way to determine the interval, maybe converting to integer and do something on the differences between them. Would require a lot of thinking.
Function is slow because of
as.character.Date()
is slow. Easiest solution is see if there is a workaround, so we can keep determining the intervals on characters. Worst case, we need to find a different way to determine the interval, maybe converting to integer and do something on the differences between them. Would require a lot of thinking.