plot.IDEMSINGLE {idem}R Documentation

Plot MCMC mixing results

Description

Plot method of the class IDEMSINGLE to generate traceplot of the imputed missing outcomes

Usage

## S3 method for class 'IDEMSINGLE'
plot(x, ...)

Arguments

x

A class IDEMSINGLE object returned from imImpSingle

...

Additional arguments

See Also

imImpSingle

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);
im.imp.single <- imImpSingle(abc[1,], im.fit,
                             chains = 4, iter = 200, warmup = 100);
plot(im.imp.single);


[Package idem version 5.2 Index]