imImpAll_mice | R Documentation |
Conduct imputation using the NARFCS model implemented in the mice
package
imImpAll_mice(
im.data,
deltas = 0,
n.imp = 5,
endponly = TRUE,
seed = NULL,
...
)
im.data |
A class |
deltas |
Vector of imputation sensitivity parameters |
n.imp |
Number of complete datasets required |
endponly |
Logical variable that indicates whether clinical outcomes not
used in calculating the functional outcome are considered as missing and
should be imputed. The default is |
seed |
Random seed |
... |
Parameters for |
A class IDEMIMP
list with components
List of parameters
A dataset with the original data for the subset
of subjects who died at the end of the study or had no missing outcomes and
the n.imp
imputed missing outcomes for subjects who need missing value
imputation.
Number of imputed complete datasets
Imputation sensitivity parameters
Original dataset
## Not run:
rst.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));
rst.imp <- imImpAll_mice(rst.abc, deltas=c(-0.25,0,0.25));
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.