Skip to content

Remove all mentions of contrasts as an argument #569

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

Merged
merged 4 commits into from
Oct 18, 2021

Conversation

DavisVaughan
Copy link
Member

Part of #492. I will do multiple PRs related to this.

This PR removes all mentioning and usage of contrasts as an argument.

You can still set the global contrasts option and the .convert_form_*() functions will respect that. I've added a test case to show that.

@DavisVaughan DavisVaughan requested a review from topepo October 7, 2021 19:47
Copy link
Member

@topepo topepo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

Can you add something to the Details saying that contrasts should be specified via the global option (e.g. options(contrasts = rep("contr.treatment", 2))).

@DavisVaughan
Copy link
Member Author

Which Details page? fit() and fit_xy()?

@topepo
Copy link
Member

topepo commented Oct 14, 2021

Yes.

(both please)

@DavisVaughan DavisVaughan merged commit 654e8d0 into master Oct 18, 2021
@DavisVaughan DavisVaughan deleted the feature/no-contrasts branch October 18, 2021 15:14
@github-actions
Copy link

github-actions bot commented Nov 2, 2021

This pull request 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.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants