Lesson 2 of 27
Already have access? Sign in here
Already have access? Sign in here
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.