powered by
Generate missingness patterns using a function borrowed from mice, with options to reduce the complexity of the output.
md_pattern(data, omit_complete = TRUE, min_freq = 0.01)
the dataset
defaults to TRUE, omitting variables without missing values
minimum number of rows to have this missingness pattern
data("bfi", package = 'psych') md_pattern(bfi) md_pattern(bfi, omit_complete = FALSE, min_freq = 0.2)
Run the code above in your browser using DataLab