-
Notifications
You must be signed in to change notification settings - Fork 80
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
In calculate
, should F
and Chisq
stats be lower case?
#373
Comments
calculate
, it'd be good if all stats were lower case
calculate
, it'd be good if all stats were lower case calculate
, should F
and Chisq
stats be lower case?
#37 (comment) might be relevant here. One solution here could be to check if the inputted a) message that |
I have the same reasoning. If designing from beginning I'd make them all lowercase, but now making them lowercase will break existing code. Allow case insensitive matching seems too permissive. I added a "standard" tidyverse way of matching argument with a predefined set: it will error if argument is not in the set and suggest an alternative in case of a "not very big" typo. Currently this doesn't work with single letter values, but might be fixed in the future. @ismayc, do you have any strong opinions here? |
I agree with Simon's suggestion. Provide a message but allow either case to work |
F and Chisq were chosen because capital letters were common in historical examples. |
Thanks for suggestion. Implemented both current and lower case via allowed aliases. |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
Unless there is some reason I'm unaware of, I think it would be easier to remember if all stats were lower case, i.e. if
F
&Chisq
weref
andchisq
The text was updated successfully, but these errors were encountered: