BoAcharai › Lessons › RStudio

Step-by-step lesson · RStudio

How to run a t-test in RStudio

4 steps

  1. Type t.test(score ~ group, data = data)
  2. Press Return
  3. Read t, df and the p-value
  4. A p-value below 0.05 means the groups differ

More in RStudio

All RStudio lessons