I have a data frame (df) that looks like this:
Code Status Value 1 1 Treated 1.5 2 1 Treated 1.7 3 1 Treated 1.9 4 1 Control 2.1 5