Shuguang Ji
02/12/2016
In this project, I developed an app to forecast the fuel price for next 15 years. The contributions of this app consist of:
Four models are developed to forecast the fuel prices for E85, Electricity, Natural Gas, and Propane.
Followings are the codes for the output of plot on web app.
output$plot1 <- renderPlot({
ggplot(selectedData(), aes(x = time, y = value, color = variable)) +
geom_line(size = 2, alpha = 0.5) + geom_point(size = 3) +
theme(text = element_text(size = 18),legend.position = 'bottom')+
xlab("Year")+ylab("Dollar per Gallon")})
tabPanel("Time Series Plot", plotOutput("plot1")
Several tasks will be fulfilled in the future: