Graphical representation of the possible missing data patterns in the dataset.
# S3 method for summarizeNA
autoplot(
object,
variable = NULL,
size.text = 16,
add.missing = " missing",
order.pattern = NULL,
...
)# S3 method for summarizeNA
plot(x, ...)
A list with two elements
data
: data used to create the graphical display.
plot
: ggplot object.
a summarizeNA
object, output of the summarizeNA
function.
[character] variable for which the missing patterns should be displayed.
Only required when the argument repetition
has been specified when calling summarizeNA
.
[numeric, >0] size of the font used to display text.
[logical] should the number of missing values per variable be added to the x-axis tick labels.
[numeric vector or character] in which order the missing data pattern should be displayed. Can either be a numeric vector indexing the patterns or a character refering to order the patterns per number of missing values ("n.missing"
) or number of observations ("frequency"
).
Not used. For compatibility with the generic method.
plot(summarizeNA)
: Graphical Display of Missing Data Pattern