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

Missing values #80

Merged
merged 2 commits into from
Oct 19, 2023
Merged

Missing values #80

merged 2 commits into from
Oct 19, 2023

Conversation

mayer79
Copy link
Collaborator

@mayer79 mayer79 commented Oct 19, 2023

This PR improves handling of missing values:

  • Grid values in ice() and partial_dep() can now include missings (set na.rm = FALSE).
  • Unit tests for different functions working with missing values

Note that hstats() and average_loss() give a warning on missing values coming from rowsum() (when the group variable contains missings). It is harmless, still we might add some workaround later.

@mayer79 mayer79 merged commit de0d70d into main Oct 19, 2023
2 checks passed
@mayer79 mayer79 deleted the na_rm branch October 19, 2023 15:27
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.

1 participant