Build condition probaability matrix for Horvitz-Thompson estimation from treatment permutations

permutations_to_condition_pr_mat(permutations)

Arguments

permutations

A matrix where the rows are units and the columns are different treatment permutations; treated units must be represented with a 1 and control units with a 0