This lesson requires a premium membership to access.
Premium membership includes unlimited access to all courses, quizzes, downloadable resources, and future content updates.
Ask questions about this lesson and get instant answers.
Let's look at a few commands that we will frequently use while exploring time series data.
The length() function tells us the number of elements in out time series dataset.
1> length(msft_ts)
2[1] 252
3>
4The head() function displays the top n elements of the dataset. This is useful while exploring large datasets.