This helper function creates a valid post
vector. The
post
vector is an argument to the mice
function that
specifies post-processing for a variable after each iteration of imputation.
Arguments
- data
A data frame or a matrix containing the incomplete data. Missing values are coded as
NA
.