title: R. T test for two groups that are part of different categories in the same data set?
body: <p>I have a final lab and am trying to run a T-test to see if there is a significant difference between salary if you major in a STEM major vs a Humanity major vs a Social Science major. I have each major labeled as either SS, S, or H in one column. Is there a way I could compare each group easily? Thanks</p>