nimp: Number of imputations per block

Description Usage Value See Also Examples

View source: R/nimp.R

Description

Calculates the number of cells within a block for which imputation is requested.

Usage

1
nimp(vars = NULL)

Value

A numeric vector of length length(blocks) containing the number of cells that need to be imputed within a block.

See Also

mice

Examples

1
2
3
4
5
6
where <- is.na(nhanes)

# standard FCS
nimp(where)

# user-defined blocks

stefvanbuuren/dsMice documentation built on Aug. 26, 2020, 1:44 p.m.