From the course: R for Data Science: Analysis and Visualization
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Computing correlations - R Tutorial
From the course: R for Data Science: Analysis and Visualization
Computing correlations
- [Instructor] Some of the most exciting work in looking at data comes in finding associations, these patterns, differences between groups or ways that one variable can be used to predict another. That starts to give you some really actionable insights. And probably one of the easiest ways to do this is with the correlation coefficient. Now I'm going to show you some basic correlations using the quantitative variables in our dataset. So I'm taking some of the Google Trends data, and that is again, the state by state relative popularity of some search terms. And I'm using several that all have to do with data. Specifically, I'm using data science, artificial intelligence, machine learning, data analysis, business intelligence, spreadsheet, and statistics. And what I'm going to do right here is I'm using the select command which normally I use to just choose the variables. But select is really handy because it does a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.