Learn R Programming

SMPracticals (version 1.4-3.1)

yahoo: Yahoo Closing Prices

Description

Daily closing prices (US dollars) of Yahoo.com shares from 12 April 1996 to 26 April 2000.

Usage

data(yahoo)

Arguments

Format

An irregular time series with 1017 values.

Examples

Run this code
data(yahoo)
plot(yahoo,type="l",ylab="Yahoo closing prices")
plot(diff(100*log(yahoo)),type="l",ylab="Yahoo log returns (percent)")

Run the code above in your browser using DataLab