Balancing of Classes
class.balancing(X.proj.complete, Y.proj, drawA, Xhat, ids.with.missing, vars)
matrix with complete projected observations.
matrix with projected imputed observations.
vector of indices corresponding to current missingness pattern.
matrix of full imputed observations.
vector of indices of observations with missing values.
vectors of variables in projection.
a list of new X.proj.complete and Y.proj.