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

DS-83 3 #5

Merged
merged 4 commits into from
Mar 9, 2020
Merged

DS-83 3 #5

merged 4 commits into from
Mar 9, 2020

Conversation

jrwishart
Copy link
Contributor

Handle the dummy variable adjustment case where by the footer needs to be updated to communicate to the user if dummy variable adjustment was applied and if cases were removed due to missing outcome or all predictors missing.

@coveralls
Copy link

coveralls commented Mar 8, 2020

Coverage Status

Coverage increased (+0.3%) to 87.892% when pulling 5584756 on DS-83-3 into 848b553 on master.

@jrwishart jrwishart marked this pull request as ready for review March 8, 2020 23:40
all.predictors.missing <- if (any(all.predictors.missing)) "all predictor variables" else NULL
description <- paste0(description, paste0(" cases missing ",
paste0(c(missing.outcomes, all.predictors.missing),
collapse = " or missing "),
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the " or missing " case covered by unit tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It wasn't, I missed that one. Thanks for picking it up. Added a unit test for that case in the latest commit 6c6ca28

@JustinCCYap JustinCCYap merged commit 663fb87 into master Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants