get_new_start {sstvars} | R Documentation |
Get the new starting time of series that is forwarded some number of steps
Description
get_new_start
calculates the new starting time of series
that is forwarded some number of steps.
Usage
get_new_start(y_start, y_freq, steps_forward)
Arguments
y_start |
original starting time of the series |
y_freq |
frequency of the series |
steps_forward |
how many steps the series should be forwarded? |
Value
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.
[Package sstvars version 1.1.2 Index]