View source: R/idem_imputation.R
plot.IDEMSINGLE | R Documentation |
Plot method of the class IDEMSINGLE
to generate traceplot of the imputed missing
outcomes
## S3 method for class 'IDEMSINGLE'
plot(x, ...)
x |
A class |
... |
Additional arguments |
imImpSingle
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);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.