View source: R/dss_plot_md_pattern.R
dss_plot_md_pattern | R Documentation |
This function is a wrapper for two external functions offering
facilities for visualizing missing data patterns:
visdat::vis_miss()
and mice::md.pattern()
.
dss_plot_md_pattern(ref, target, type = "map", rotate = TRUE)
ref |
dataframe. Reference dataset composed of individual of known sex, typically returned by dss_check_data. |
target |
1-row dataframe. Target individual. |
type |
character string; either |
rotate |
boolean. Should variable names be rotated on the plot to improve readability? |
No value is returned; this function only produces a graphical output.
ref
must have at least two numeric variables (missing values
“patterns” have no meanings for one single variable).
Frédéric Santos.
vis_miss
, md.pattern
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.