I would like to make a box plot or a similar in order to visualise the range of a three different target variables (T1, T2, T3) as a function of V1. For example the range of T1 is from 2 to 7, the range for T2 is from 1 to 5 and the range for T3 is from 3 to 7. I would also like to be able to visualise a fourth box representing only the overlapping range i.e. from 3 to 5 in this example.
Thank you in advance!
Lot <- c(1:9)
V1 <- c(2, 5, 7 ,1 ,5 ,3, 4, 5, 7)
T1 <- c(1, 1, 1, 0, 0, 0, 0, 0, 0)
T2 <- c(0, 0, 0, 1, 1, 0, 0, 0, 0)
T3 <- c(0, 0, 0, 0, 0, 1, 1, 1, 1)
df <- data.frame(Lot, V1, T1, T2, T3)

