Skip to content
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

Omit rows with all NA in confint_tidy() #345

merged 4 commits into from Jun 14, 2018


Copy link

@atyre2 atyre2 commented Jun 10, 2018

Following the discussion at #324, I re-ran all the problematic examples and as far as I can tell they all work as intended (omitting NA rows). The exception is confint_tidy(). I tried adding the same code for rank-deficient models from process_lm(), but some tidiers call confint_tidy() with objects that are not regression models, and therefore lack components like rank and qr (e.g. bbmle). So instead I checked for NA rows in the result, and eliminate those.

The only issue I can see is that there is no way to tell which rows were eliminated, because confint_tidy() just returns two columns with the confidence intervals. This is quite different from other tidy() results which always include the names of the relevant terms.

@alexpghayes alexpghayes merged commit 6f24ba1 into tidymodels:master Jun 14, 2018
Copy link

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: and link to this issue.

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

Successfully merging this pull request may close these issues.

None yet

2 participants