We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi
I'm new to GitHub.
I just noticed that the interval function is giving some unexpected results...
interval('2015-03-01', '2016-10-01') / months(1) [1] 19 interval('2015-03-02', '2016-10-01') / months(1) [1] 19.47541 interval('2015-03-03', '2016-10-01') / months(1) [1] 18.93333
I would expect the output of the middle function to be between the first and third.
If I change the end period to 2015 I get what I would expect...
interval('2015-03-01', '2015-10-01') / months(1) [1] 7 interval('2015-03-02', '2015-10-01') / months(1) [1] 6.966667 interval('2015-03-03', '2015-10-01') / months(1) [1] 6.933333
Am I missing something?
The text was updated successfully, but these errors were encountered:
It's probably a bug. Division by month is rather flimsy.
Sorry, something went wrong.
[#584] Fix interval by period division
c0a146d
... and broken replication therein
2c38627
No branches or pull requests
Hi
I'm new to GitHub.
I just noticed that the interval function is giving some unexpected results...
I would expect the output of the middle function to be between the first and third.
If I change the end period to 2015 I get what I would expect...
Am I missing something?
The text was updated successfully, but these errors were encountered: