get_date_vector: Compute the Period Vector representation of a Decimal Time...

View source: R/utils.R

get_date_vectorR Documentation

Compute the Period Vector representation of a Decimal Time value

Description

The period value will be rounded down to the nearest integer. This function is not vectorized so only a single value can be converted at a time.

Usage

get_date_vector(dtime, frq)

Arguments

dtime

numeric decimal time value denoting a point in time

frq

integer frequency


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