Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How would I code a plot with multiple lines showing each of these stocks Adjusted price? I have downloaded the stock info from Yahoo with
How would I code a plot with multiple lines showing each of these stocks Adjusted price? I have downloaded the stock info from Yahoo with the codes below. In each file you can pull the time data for each stock with TSLA$TSLA.Adjusted (Last column of each spread sheet for each stock)
library(quantmod)
getSymbols(c("TSLA","NVDA","CELH","AMZN","NFLX","MAR","SBUX"), src="yahoo", from='2020-03-01', to='2020-08-31')
What would be my next step to ploting all of these together?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started