View source: R/idem_imputation.R
imFitModel | R Documentation |
Fit linear imputation models to the observed data from complete survivors for each treatment arm at each time point
imFitModel(im.data)
im.data |
A class |
A class IDEMFIT
list of modeling fitting results with the following items
Original class IDEMDATA
object
A list of modeling fitting results for each model with
results from function lm
model formula
model coefficients
residuals
bandwidth of residuals for kernel density estimation
imData
, idem-package
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);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.