Re: [R] Difference between two time series

2011-11-17 Thread Sarwarul Chy
Hello Michael, Thanks again for your reply. Actually, I am working with wind data. I have some sample data for actual load. scan(/home/sam/Desktop/tt.dat) -tt ## This is the input for the actual output of the generation t = ts(tt, start=8, end=24, frequency=1,) I have another random sequence

Re: [R] Difference between two time series

2011-11-15 Thread Sarwarul Chy
Hello, Can you please help me with this? I am also stack in the same problem. Sam -- View this message in context: http://r.789695.n4.nabble.com/Difference-between-two-time-series-tp819843p4073800.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Difference between two time series

2011-11-15 Thread Sarwarul Chy
Hello Michael, Thanks for your reply. What I want to do is something like this? For example, I have a continuous time series y=x(t), and another discrete time series z=w(t). Xdiff(i)=Max. difference between x(t) and w(t) in interval i Ndiff(i)=Min. difference between x(t) and w(t) in interval