A time series is a set of data points recorded over time, usually at uniform intervals. The important thing that distinguishes time series from other one-dimensional data is the property of natural temporal ordering present in the data. In this recipe, you will analyze human heart rate data and visualize your findings.
In this recipe, you will use two time series that contain evenly-spaced measurements of instantaneous heart rate (in units of beats per minute) at 0.5 second intervals from two subjects. The data was downloaded from an ECG website maintained at MIT (GoldBerger and Mordy).
Load the data as follows:
Perform the following steps (Code is shown here for one series. ...