compute_decimal_time: Compute Decimal Time from a ts Period Vector
Description
Standard ts object use a vector of length two to store a period. E.g. 2010,1 means first quarter of 2010,
if the series was quarterly and first month if the series was monthly etc.
Usage
compute_decimal_time(v, f)
Arguments
- v
integer vector denoting a point in time
- f
frequency