I have a data frame in the form shown below:
structure(list(y_green = c(4.6, 4.7, 9, 6.7, 6.2, 7.7), y_red = c(8.3, 9, 10, 8.3, 7.8, 9.1), y_blue = c(4.6, 2.