Dowjones {BSDA} | R Documentation |
Closing yearend Dow Jones Industrial averages from 1896 through 2000
Description
Data for Exercise 1.35
Usage
Dowjones
Format
A data frame/tibble with 105 observations on three variables
- year
date
- close
Dow Jones closing price
- change
percent change from previous year
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
Examples
plot(close ~ year, data = Dowjones, type = "l", main = "Exercise 1.35")
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Dowjones, aes(x = year, y = close)) +
geom_point(size = 0.5) +
geom_line(color = "red") +
theme_bw() +
labs(y = "Dow Jones Closing Price")
## End(Not run)
[Package BSDA version 1.2.2 Index]