get_new_start {sstvars} | R Documentation |
get_new_start
calculates the new starting time of series
that is forwarded some number of steps.
get_new_start(y_start, y_freq, steps_forward)
y_start |
original starting time of the series |
y_freq |
frequency of the series |
steps_forward |
how many steps the series should be forwarded? |
Returns a length two numeric vector with the "year" (or "major")
time point in the first element the "quarter/month/week/day" (or "minor")
time in the second element for a series that is forwarded from y_start
steps_forward
steps forward.