Learn R Programming

HoRM (version 0.1.3)

stock: Google Stock Dataset

Description

This dataset consists of the closing stock price of a share of Google stock during the trading days between February 7-th and July 7-th of 2005.

Usage

data(stock)

Arguments

Format

This is an extensible time series (xts) object for the 105 trading days of interest:

  • GOOG.close The closing stock price of a share of Google stock.

References

Young, D. S. (2017), Handbook of Regression Methods, CRC Press.

Examples

Run this code
# NOT RUN {
## How the data were accessed (1/26/17).

require(quantmod)

getSymbols("GOOG", src = "yahoo", 
           from = "2005-02-07", to = "2005-07-07")
stock <- GOOG[,4]
# }

Run the code above in your browser using DataLab