Re: [R] Cross Spectrum : Conversion of 2-D spectrum into a single complex array

2011-09-24 Thread Ben Bolker
Joseph Park att.net> writes: > > Perhaps this question is inappropriate or posted to the wrong list? > > Any guidance would be appreciated. Thanks. > [snip] This seems like a perfectly reasonable question. Sometimes people just don't bite. Ben Bolker _

Re: [R] Cross Spectrum : Conversion of 2-D spectrum into a single complex array

2011-09-24 Thread Joseph Park
Perhaps this question is inappropriate or posted to the wrong list? Any guidance would be appreciated. Thanks. --- On Fri, 9/23/11, Joseph Park wrote: > From: Joseph Park > Subject: Cross Spectrum : Conversion of 2-D spectrum into a single complex > array > To: r-help@r-project.org > Date: F

[R] Cross Spectrum : Conversion of 2-D spectrum into a single complex array

2011-09-23 Thread Joseph Park
Hi, I'm wondering why the spectrum() phase of quadrature couple isn't purely +/-pi. But mostly, I'm looking for a recommended way to take a 2-D spectrum and convert it into a single complex array. Kindly consider: # 10 Hz sine wave 10 seconds long sampled at 50 Hz deltaT = 1/50 t = seq(0