
I know for a fact that I have done this before (I'm new to R) but I cannot remember how to do it and nothing I search seems to be talking about the same thing. I created this data frame and I want to instead have a data frame with two variables; one being values, the other being their treatment group (originally the column they were in). For instance, an entry would be 118.8 DC. How do I do this?
 
     
    