Learn R Programming

idem (version 2.2)

imPlotMisPattern: Plot missing patterns

Description

Plot the missing patterns of the observed data

Usage

imPlotMisPattern(data.all, lst.var, cols = c("blue", "gray"), fname = NULL,
  ...)

Arguments

data.all

Original dataset

lst.var
cols

Color of observed and missing values

fname

File name of the result pdf file. If fname is null, result pdf file will not be generated

...

Options for pdf function

Examples

Run this code
# NOT RUN {
lst.var <- list(trt="TRT", outcome=c("Y1","Y2"),
                trt.label = c("UC+SBT", "SAT+SBT"));

imPlotMisPattern(abc, lst.var);

# }

Run the code above in your browser using DataLab