Number of imputations per block
Calculates the number of cells within a block for which imputation is requested.
nimp(where, blocks = make.blocks(where))
where |
A data frame or matrix with logicals of the same dimensions
as |
blocks |
List of vectors with variable names per block. List elements
may be named to identify blocks. Variables within a block are
imputed by a multivariate imputation method
(see |
A numeric vector of length length(blocks)
containing
the number of cells that need to be imputed within a block.
where <- is.na(nhanes) # standard FCS nimp(where) # user-defined blocks nimp(where, blocks = name.blocks(list(c("bmi", "hyp"), "age", "chl")))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.