Displaying 1 result from an estimated 1 matches for "ts_b".
Did you mean:
s_b
2009 Sep 11
1
Simple time series questions
...ng 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 that back?
Finally, when I plot the separate time series, the grid() function geneates
a grid wher...