bd_breaks {bdscale} | R Documentation |
The periods are:
years
quarters
months
weeks
days
bd_breaks(business.dates, n.max = 5)
business.dates |
a vector of |
n.max |
the maximum number of breaks to return |
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