Exploring the data
Let's get familiar with the Spotify data, songs
, which is already loaded for you. Before we start developing models, it's a good idea to take a peek at our data to make sure we know everything that is included.
This exercise is part of the course
Bayesian Regression Modeling with rstanarm
Exercise instructions
- Print the first 6 rows of the dataset.
- Print the structure of the dataset.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Print the first 6 rows
___(songs)
# Print the structure
___(songs)