bd_breaks {bdscale}R Documentation

Date breaks corresponding to the first trading day of standard periods

Description

The periods are:

Usage

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


[Package bdscale version 2.0.0 Index]