CO2.long <- gather(CO2, response, value, conc, uptake) head(CO2) head(CO2.long) tail(CO2.long)