R if(theme$lylab){:参数长度为零时出错 库(quantmod) aapl
试试这个R if(theme$lylab){:参数长度为零时出错 库(quantmod) aapl,r,plot,quantmod,R,Plot,Quantmod,试试这个 library(quantmod) aapl<-getSymbols("aapl", auto.assign =FALSE) head(aapl) chart_Series(aapl, subset='2010::2010-04', theme =chartTheme(), TA="addvo();addbbands()") chartSeries使用addVo和chartTheme,但是chart\u Series使用chart\u主题和add\u Vo等。不要尝试将旧打
library(quantmod)
aapl<-getSymbols("aapl", auto.assign =FALSE)
head(aapl)
chart_Series(aapl, subset='2010::2010-04',
theme =chartTheme(),
TA="addvo();addbbands()")
chartSeries
使用addVo
和chartTheme
,但是chart\u Series
使用chart\u主题
和add\u Vo
等。不要尝试将旧打印系统与新打印系统混合使用(在函数名中使用
)
chart_Series(aapl, subset='2010::2010-04',
theme =chart_theme(),
TA="add_Vo();add_BBands()")