Lesson 6 of 27
Already have access? Sign in here
Already have access? Sign in here
Ask questions about this lesson and get instant answers.
In R, objects can be of different class such as vector, list, dataframe, ts, etc. When you load a dataset into R, it may not necessarily be a time series object. We can use the is.ts() function to test if the given object is a time series (ts) object or not.