plot.IDEMFIT: Plot model fitting results

View source: R/idem_imputation.R

plot.IDEMFITR Documentation

Plot model fitting results

Description

Plot method of the class IDEMFIT to generate model fitting diagnosis plots

Usage

## S3 method for class 'IDEMFIT'
plot(x, trt = NULL, mfrow = NULL, ...)

Arguments

x

A class IDEMFIT object generated by imFitModel

trt

Treatment arm selected for the diagnostic plots. If NULL, all treatment arms are included

mfrow

Plot option

...

Additional arguments

See Also

imFitModel

Examples

im.abc <- imData(abc, trt="TRT", surv="SURV", outcome=c("Y1","Y2"),
                 y0=NULL, endfml="Y2",
                 trt.label = c("UC+SBT", "SAT+SBT"),
                 cov=c("AGE"), duration=365, bounds=c(0,100));
im.fit <- imFitModel(im.abc);
plot(im.fit, mfrow=c(2,4));


idem documentation built on Aug. 9, 2023, 5:08 p.m.