PlotMiss | R Documentation |
Takes a data frame and displays the location of missing data. The missings can be clustered and be displayed together.
PlotMiss(x, col = DescTools::hred, bg = SetAlpha(DescTools::hecru, 0.3),
clust = FALSE, main = NULL, ...)
x |
a data.frame to be analysed. |
col |
the colour of the missings. |
bg |
the background colour of the plot. |
clust |
logical, defining if the missings should be clustered. Default is |
main |
the main title. |
... |
the dots are passed to |
A graphical display of the position of the missings can be help to detect dependencies or patterns within the missings.
if clust is set to TRUE, the new order will be returned invisibly.
Andri Signorell <andri@signorell.net>, following an idea of Henk Harmsen <henk@carbonmetrics.com>
hclust
, CountCompCases
PlotMiss(d.pizza, main="Missing pizza data")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.