Re: [R] three related time series with different resolutions

2009-10-21 Thread William Simpson
I wasn't clear: x and z are pulse *trains* with irregular gaps between pulses. > > x is a rectangular pulse 4 sec long. Its onset and offset are known > with sub-millisecond precision. The onset varies irregularly -- it > doesn't fall on neat 1/2 sec or sec boundaries for example. > > y is a sampl

Re: [R] three related time series with different resolutions

2009-10-21 Thread William Simpson
PS I think one way to get the average waveforms I want from the analysis is using cross-correlation, but again the multiple scale problem is present. On Wed, Oct 21, 2009 at 9:56 AM, William Simpson wrote: > I have three time series, x, y, and z, and I want to analyse the > relations between them

[R] three related time series with different resolutions

2009-10-21 Thread William Simpson
I have three time series, x, y, and z, and I want to analyse the relations between them. However, they have vastly different resolutions. I am writing to ask for advice on how to handle this situation in R. x is a stimulus, and y and z are responses. x is a rectangular pulse 4 sec long. Its onset