Learn R Programming

tstools (version 0.4.3)

get_date_vector: 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