Learn R Programming

idem (version 2.2)

imPlotCompleters: Plot data of completer

Description

Spaghetti plot for subjects alive at the end of the study without missing data

Usage

imPlotCompleters(data.all, lst.var, fname = NULL, ...)

Arguments

data.all

Original dataset

lst.var
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", surv="SURV", outcome=c("Y1","Y2"),
                y0=NULL, trt.label = c("UC+SBT", "SAT+SBT"),
                duration=365);

imPlotCompleters(abc, lst.var);

# }

Run the code above in your browser using DataLab