md_pattern | R Documentation |
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)
data |
the dataset |
omit_complete |
defaults to TRUE, omitting variables without missing values |
min_freq |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.