Name imputation blocksSource:
This helper function names any unnamed elements in the
specification. This is a convenience function.
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
methodargument). By default each variable is placed into its own block, which is effectively fully conditional specification (FCS) by univariate models (variable-by-variable imputation). Only variables whose names appear in
blocksare imputed. The relevant columns in the
wherematrix are set to
FALSEof variables that are not block members. A variable may appear in multiple blocks. In that case, it is effectively re-imputed each time that it is visited.
A character vector of length 1 with the prefix to be using for naming any unnamed blocks with two or more variables.
This function will name any unnamed list elements specified in
the optional argument
blocks. Unnamed blocks
consisting of just one variable will be named after this variable.
Unnamed blocks containing more than one variables will be named
prefix argument, padded by an integer sequence
stating at 1.