Statistical Analysis With R For Dummies For
r t.test(mpg ~ am, data=mtcars) ``` This test tells you if the difference is statistically significant. #### Correlation Test To examine the relationship between weight and mpg: ```r cor.test(mtcars$wt, mtcars$mpg) ``` This helps in understanding how variables in