R Markdown

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.

When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:

## [1] "TSLA"
## [1] "LI"
## [1] "XIACF"
## [1] "NIO"
## [1] "TM"
## [1] "P911.DE"
## [1] "MBG.DE"
## [1] "RACE"

Including Plots

You can also embed plots, for example:

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.


These plots are interactive dygraphs that show the different stock prices of some of the largest car brands in the world from 2013 to now. One of the graphs look specifically at Electric Vehicles, while the other shows a few wealthier Non-Electric car companies to see how they react differently over time.

You can see that the EV industry is fairly new, with the exception of Tesla, but Tesla is a dominant market force, especially in the EV industry.

Data Sources:

TSLA stock price LI stock price XIACF stock price NIO stock price TM stock price P199.DE stock price MBG.DE stock price RACE stock price