miss_plot | R Documentation |
Returns a ggplot2 object of the missing data.
miss_plot(data, percent = T, case = T, reverse = F)
data |
(data.frame) Data.frame. |
percent |
(lgl scalar) Whether to use percent or raw counts. |
case |
(lgl scalar) Whether to plot missingness for cases or variables. |
reverse |
(lgl sclr) Whether to count datapoints instead of missing datapoints. |
test_data = miss_add_random(iris)
miss_plot(test_data)
miss_plot(test_data, percent = F) #raw count
miss_plot(test_data, case = F) #variables
miss_plot(test_data, case = F, percent = F) #variables, raw
miss_plot(test_data, reverse = T) #reverse
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.