compute_decimal_time: Compute Decimal Time from a ts Period Vector

View source: R/utils.R

compute_decimal_timeR Documentation

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


tstools documentation built on June 7, 2023, 5:13 p.m.