In the following topics, we will first review techniques used to identify patterns in time series data (such as smoothing and curve fitting techniques and autocorrelations), then we will introduce a general class of models that can be used to represent time series data and generate predictions (autoregressive and moving average models).
On all platforms, you can generate PDF files directly using pdf(), or copy your graph from a screen device to a PDF file using dev.copy2pdf(). On Windows and Mac OS X, you can save your graphs directly from the windows() or quartz() screen devices to PDF files. Last but not least, you can easily export several graphs into a single PDF file. Each graph will be rendered on a separate page in the document.