bd_breaks: Date breaks corresponding to the first trading day of...

Description Usage Arguments Value

Description

The periods are:

Usage

1
bd_breaks(business.dates, n.max = 5)

Arguments

business.dates

a vector of Date objects, sorted ascending

n.max

the maximum number of breaks to return

Value

returns a function function: max => [date range] => breaks that generates the breaks for the interval with the largest number of breaks less than n.max


dvmlls/bdscale documentation built on May 15, 2019, 6:20 p.m.