dividends Import dividends of Apple and Microsoft since 2010.economic data Import U.S. civilian unemployment rate (seasonally adjusted) since 2017.exchange rates Import exchange rate between the U.S. dollar and the Japanese yen.stock prices Import stock price of Apple and Microsoft since 2010.Scatterplot Plot the relationship between closing price and volume for Apple.Scatterplot Plot the relationship between closing price and volume for both Apple and Microsoft.dividends Import dividends of Apple and Microsoft since 2010.## # A tibble: 0 x 2
## # ⦠with 2 variables: symbol <chr>, dividends <???>
economic data Import U.S. civilian unemployment rate (seasonally adjusted) since 2017.Hint: Find the symbol in FRED.
## # A tibble: 37 x 2
## date price
## <date> <dbl>
## 1 2017-01-01 4.7
## 2 2017-02-01 4.6
## 3 2017-03-01 4.4
## 4 2017-04-01 4.4
## 5 2017-05-01 4.4
## 6 2017-06-01 4.3
## 7 2017-07-01 4.3
## 8 2017-08-01 4.4
## 9 2017-09-01 4.2
## 10 2017-10-01 4.1
## # ⦠with 27 more rows
exchange rates Import exchange rate between the U.S. dollar and the Japanese yen.Hint: Find the symbol in oanda.com.
## # A tibble: 180 x 2
## date exchange.rate
## <date> <dbl>
## 1 2019-09-07 0.00935
## 2 2019-09-08 0.00935
## 3 2019-09-09 0.00934
## 4 2019-09-10 0.00931
## 5 2019-09-11 0.00928
## 6 2019-09-12 0.00926
## 7 2019-09-13 0.00925
## 8 2019-09-14 0.00925
## 9 2019-09-15 0.00925
## 10 2019-09-16 0.00927
## # ⦠with 170 more rows
stock prices Import stock price of Apple and Microsoft since 2010.Scatterplot Plot the relationship between closing price and volume for Apple.Hint: See the code in 4.2.1 Scatterplot. Use the dplyr::filter function to select Apple.
Hint: See the scatterplot you created in the previous question.
There is an inverse relationship between the closing price and volume for appleās stock prices.
Scatterplot Plot the relationship between closing price and volume for both Apple and Microsoft.Hint: Use facet_wrap().
Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.