m1 = garchFit(~1+garch(1,1), data = priceData1, trace = F)
m2 = garchFit(~1+garch(1,1), data = priceData2, trace = F)
plot(m1, which = 1)
#plot(m2, which = 1) # if run this m2 garch graph will be replace m1 garch graph
lines(m2)
as.double(y)出错: 不能强制输入'S4'到'double'类型的矢量
如何在R?
中的一个图形中绘制两条fGarch线