第1个回答 2019-05-10
这是ggplot的问题,加入print()可解决:
PEG(。。。。)
g1<-ggplot(。。。)
print(g1)
dev.off()
第2个回答 2017-07-09
(1) frequency=12表明时间单位为年,而且在每一个时间单位中有12个均匀间隔的观察值。
因此gm是月数据,在金融数据中,常用的有月收益率数据。
(2) start=c(1975,1)表示开始时间为1975年1月。
第3个回答 2019-06-27
需要在ggplot()函数前嵌套print()函数,如print(ggplot))
第4个回答 2018-04-19
for (...){
JPEG()
name=ggplot()
print(name) #important
dev.off()
}
第5个回答 2017-12-18
请问您解决了吗,我遇到同样的问题