Get startedGet started for free

Getting to know the data

In the exercises of this chapter, you are going to work with a dataset containing metrics about online articles. They're stored in the object newsData in your environment.

The packages dplyr and corrplot have already been loaded for you.

This exercise is part of the course

Machine Learning for Marketing Analytics in R

View Course

Exercise instructions

  • Get an overview of the structure of your data.
  • Take a look at the correlation structure using corrplot().

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Overview of data structure:
___(newsData, give.attr = FALSE)

# Correlation structure:
newsData %>% ___() %>% ___()
Edit and Run Code