convertDatesToT: Convert dates in a list to a floating point value.

Description Usage Arguments Details Value Examples

Description

The values express time elapsed since the first date in the dataset used and is measured in whole years, with days and months expressed as fractions of a year.

Usage

1

Arguments

dates

A list of dates.

Details

Note that the day count convention used is 30E/360.

Value

The dates in years and fractions of years in floating point format.

Examples

1
convertDatesToT(c("1.1.2000", "1.7.2002")) will return 0.0 and 2.5.

caeh17/Financial-Calculator documentation built on May 20, 2019, 1:13 p.m.