Permute treatment assignment after imputation (IPZ)
permuteIPZ(data, pZ, index = FALSE)matrix as returned by impute.IPT
vector of permuted indices if index is TRUE, else binary vector of treatment assignments
indicates if pZ is a vector of indices or a binary vector of treatment assignments
matrix with time, status, Z columns
Wang, R., Lagakos, S.~W. and Gray, R.~J. Testing and interval estimation for two-sample survival comparisons with small sample sizes and unequal censoring. Biostatistics, 11(4), 676--692, January 2010.