Description Usage Arguments Value
View source: R/mice_imputers_censored.R
Function from Lapidus et al.
for imputing left-censored data with mice
1 2 3 4 5 6 7 8 9 10 | mice.impute.cens(
y,
ry,
x,
lod.j,
lod.name = "lod",
REDRAW = FALSE,
wy = NULL,
...
)
|
y |
Vector to be imputed |
ry |
Logical vector of length |
x |
Numeric design matrix with |
lod.j |
censoring value. |
lod.name |
suffix name used for the censored variable. |
REDRAW |
Boolean indicating whether values should be redrawn if some are over the censoring limit |
wy |
Logical vector of length |
... |
Other named arguments. |
Vector with imputed data, same type as y
, and of length
sum(wy)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.