stock | R Documentation |
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.
data(stock)
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.
Yahoo! Finance; accessed 01-26-2017.
Young, D. S. (2017), Handbook of Regression Methods, CRC Press.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.