stock {HoRM} | R Documentation |
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)
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.
Source
Yahoo! Finance; accessed 01-26-2017.
References
Young, D. S. (2017), Handbook of Regression Methods, CRC Press.
Examples
## 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]
## End(Not run)
[Package HoRM version 0.1.3 Index]