-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
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
Improve documentation of smoothness()
#519
base: main
Are you sure you want to change the base?
Conversation
#' # When perfectly linear, the "smoothness" is 1 | ||
#' smoothness(1:10) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The examples in the current docs report smoothness < 1 with "cor" and > 1 with "diff". Can you add some explanations on how to interpret those?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed, actually the "diff" method had a reversed interpretation. I fixed accordingly (but that's a breaking change)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this requires a bullet point in NEWS and fixing the tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
smoothness()
Co-authored-by: Etienne Bacher <[email protected]>
Close #374