Search code examples
rchartsquantmod

R: how to change title of plot in lineChart


Is there an easy way to make the title "General Electric" instead of "GE"?

chart.R

library(quantmod)
getSymbols("GE")
lineChart(GE)

Solution

  • Just use the name argument

    lineChart(GE, name = "General Electric")