Correlation Analysis in R

Data Science with R Programming 6 min min read Updated: Mar 07, 2026 Beginner
Correlation Analysis in R
Beginner Topic 4 of 10

Correlation Analysis

Correlation measures how strongly two variables are related.

r cor(mtcars$mpg, mtcars$hp)

Next Tutorial: Scatter Plots

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators