Learn R Programming

bdscale (version 1.1)

bd2t: Transform Dates into your business-date scale.

Description

Transform Dates into your business-date scale.

Usage

bd2t(dates, business.dates)

Arguments

dates
a Date vector for which you want to transform each date into an integer t which is the number of business days after the first date in your business.dates vector
business.dates
a vector of Date objects, sorted ascending

Value

  • An integer vector where each element is the number of business days t after the first date in your business.dates vector