Re: [R] fft with NA values

2009-09-29 Thread Rolf Turner
On 29/09/2009, at 10:54 PM, Steve Jones wrote: Hi List, I'm trying to perform some spectral analysis on a time series, but I've got a few data points missing, so they have NA values. Unfortunately, the fft function doesn't seem to like this, and gives a completely empty result. Other th

[R] fft with NA values

2009-09-29 Thread Steve Jones
Hi List, I'm trying to perform some spectral analysis on a time series, but I've got a few data points missing, so they have NA values. Unfortunately, the fft function doesn't seem to like this, and gives a completely empty result. Other than making up values to fill in the gaps, is there any way