if (FALSE) {
optimize_asymmetric_treatment_assignment(n = 100)
#nT = nC = 50
optimize_asymmetric_treatment_assignment(n = 100, c_treatment = 2, c_control = 1)
#nT = 66, nC = 34
optimize_asymmetric_treatment_assignment(c_total_max = 50, c_treatment = 2, c_control = 1)
}
Run the code above in your browser using DataLab