powered by
Plot the pattern of missing data. The missing data pattern is determined using the function md.pattern from the mice package.
md.pattern
mice
md_pattern(data, plot = TRUE, xlab = "", ylab = "", xaxis_pars = list(), yaxis_pars = list(), printN = TRUE, print = TRUE, ...)
data frame
logical; should the missing data pattern be plotted?
label for the x-axis
label for the y-axis
list of optional parameters for the x-axis
list of optional parameters for the y-axis
logical; should the title "N" of the y-axis be printed?
should the missing data pattern be returned as a matrix?
optional additional parameters passed to image()
image()
# NOT RUN { md_pattern(wideDF) par(mar = c(3, 1, 1.5, 1.5), mgp = c(2, 0.6, 0)) md_pattern(longDF, yaxis_pars = list(cex.axis = 0.8)) # }
Run the code above in your browser using DataLab