View source: R/plot_missings.R
plot_missings | R Documentation |
This function plots the position of missings within a given dataset and print the variables with the number of missings in an ordered way.
plot_missings(d, print_res = TRUE, decreasing = TRUE)
d |
Data frame. |
print_res |
Controls whether the column names and counted missings should be printed at the console. |
decreasing |
If TRUE, the variable names will be shown at the console in a decreasing way. In the same order as in the data frame otherwise. |
Returns a list of length two - plot and data frame ordered by correlations.
Dennis Freuer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.