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

complements to miss_case/var_prop/pct #150

Closed
njtierney opened this issue Apr 28, 2018 · 0 comments · Fixed by #151
Closed

complements to miss_case/var_prop/pct #150

njtierney opened this issue Apr 28, 2018 · 0 comments · Fixed by #151

Comments

@njtierney
Copy link
Owner

Currently you can get the proportion and percent of cases with missings, and variables with missings using miss_case_prop and co:

library(naniar)
miss_case_prop(airquality)
#> [1] 0.2745098
miss_case_pct(airquality)
#> [1] 27.45098
miss_var_prop(airquality)
#> [1] 0.3333333
miss_var_pct(airquality)
#> [1] 33.33333

Created on 2018-04-28 by the reprex package (v0.2.0).

There should be "complete" data equivalents:

  • complete_case_prop()
  • complete_case_pct()
  • complete_var_prop(
  • complete_var_pct()
njtierney added a commit that referenced this issue Apr 28, 2018
added complete_var/case_pct/prop - close #150
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 a pull request may close this issue.

1 participant