-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct endpoints for sparse daily data
endpoints() uses POSIXlt elements to determine the period breakpoints for some values of 'on' (quarters, months, and days). This can be a problem for sparse data, when there are contiguous observations that have the same POSIXlt element used for aggregation, but different years. For each of the 3 cases where POSIXlt elements are used, ensure the endpoints always vary by year, even if the POSIXlt element being used does not vary across observations. Fixes #169.
- Loading branch information
1 parent
e714046
commit 775f61a
Showing
2 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters