Displaying 1 result from an estimated 1 matches for "frame_b".
Did you mean:
frame_
2009 Sep 11
1
Simple time series questions
...is point, each chart over-writes the previous one.)
Next I try to get them onto a single chart, sharing the same y-axis. I'm
sure I haven't done this very elegantly, but here goes:
frame_model = data.frame(a=test_date,b=test_data_model)
frame_A = data.frame(a=test_date,b=test_data_baseA)
frame_B = data.frame(a=test_date,b=test_data_baseB)
ts_model = ts(frame_model$b)
ts_a = ts(frame_A$b)
ts_b = ts(frame_B$b)
ts.plot(ts_model,ts_a,ts_b,col=c("blue","red","green"),log="y")
The problem is that I no longer have the date along the y-axis. How can I
get...