stocks_18 | R Documentation |
Monthly return data for a few stocks, which covers stock prices from November 2015 through October 2018.
stocks_18
A data frame with 36 observations on the following 3 variables.
First day of the month corresponding to the returns.
Google stock price change.
Caterpillar stock price change.
Exxon Mobil stock price change.
Yahoo! Finance, direct download.
d <- stocks_18
dim(d)
apply(d[, 2:3], 2, mean)
apply(d[, 2:3], 2, sd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.