Time Series is a collection of well defined data observations over a period of time.
- Measuring retails sales every month for a year
- Number of births per month in a City for a specific period
- Age of death of successive kings of England
- Production of gold over the years based on US Geological Survey (in Metric Tons)
Analysis of Production of Gold with R:
Please refer to the DataMarket.com for getting the gold related data. It’s free. You can refer to my previous blog to import the data from Excel. In this example I have imported the data using read.csv method using the gdata Library.
The above run indicates a start = 1 and End=111 with a frequency of 1.
Plotting of Time series data: