I have the following dataframe:
id <- c("A", "B", "C") col1 <- c(1, 3, 5) col2 <- c(6, 12, 9) col3 <- c(2, 4, 30) df <