This helper function creates a valid where matrix. The
where matrix is an argument to the mice function.
It has the same size as data and specifies which values
are to be imputed (TRUE) or nor (FALSE).
An optional keyword, one of "missing" (missing
values are imputed), "observed" (observed values are imputed),
"all" and "none". The default
is keyword = "missing"