powered by
Function to return treatment arm
check_treatment_arm(arm)
0, if success -1, if failure
the arm of the trial
check_treatment_arm("control")
Run the code above in your browser using DataLab