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

changing plot_missing threshold classification #98

Closed
prvst opened this issue Dec 3, 2018 · 5 comments
Closed

changing plot_missing threshold classification #98

prvst opened this issue Dec 3, 2018 · 5 comments

Comments

@prvst
Copy link

@prvst prvst commented Dec 3, 2018

Is it possible to change the plot_missing threshold classification ? I work with data sets which 2% missing is already bad, but when I plot them using plot_missing it says that they are good. The plots are not for me, so this might confuse some people.

@boxuancui boxuancui self-assigned this Dec 3, 2018
@boxuancui boxuancui added this to the v0.8.0 milestone Dec 3, 2018
@boxuancui
Copy link
Owner

@boxuancui boxuancui commented Dec 3, 2018

As a temporary solution, you can hack profile_missing and plot_missing function by tweaking the threshold.

@prvst
Copy link
Author

@prvst prvst commented Dec 3, 2018

Thanks
nice job with this package btw.

@prvst prvst closed this Dec 3, 2018
@boxuancui
Copy link
Owner

@boxuancui boxuancui commented Dec 3, 2018

@prvst I still plan to put something in place for end users to customize the threshold. However, I do not have a good idea at this moment. I am re-opening, so that it doesn't disappear off the radar.

@boxuancui boxuancui reopened this Dec 3, 2018
@prvst
Copy link
Author

@prvst prvst commented Dec 3, 2018

cool, thanks for the quick reply

boxuancui added a commit that referenced this issue Mar 10, 2019
@boxuancui
Copy link
Owner

@boxuancui boxuancui commented Mar 10, 2019

@prvst With the latest develop branch, you can customize the band.

Example:

plot_missing(airquality, group = list("B1" = 0, "B2" = 0.06, "B3" = 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.