Learn R Programming

quantspec (version 1.2-4)

data-sp500: S&P 500: Standard and Poor's 500 stock index, 2007--2010

Description

Contains the returns of the S&P 500 stock index for the years 2007--2010. The returns were computed as (Adjusted.Close-Open)/Open.

Arguments

Format

A univariate time series with 1008 observations; a zoo object

Details

The data was downloaded from the Yahoo! Finance Website.

References

Yahoo! Finance Website

Examples

Run this code
plot(sp500)

Run the code above in your browser using DataLab