[EMAIL PROTECTED] wrote:
If this is the case then how to I take a list of numbers (residuals in this
case) and create anothe list that is longer and padded by zeros? Maybe fft
already does this for me but as I understood it I need to pass an vector to the
fft that is of a power of 2 length.
If this is the case then how to I take a list of numbers (residuals in this
case) and create anothe list that is longer and padded by zeros? Maybe fft
already does this for me but as I understood it I need to pass an vector to the
fft that is of a power of 2 length. If I still need to do this th
[EMAIL PROTECTED] wrote:
I am calling fft and getting a "non-numeric" error:
+ fit <- lm(Quantity ~ DayOfYear, .sublist)
+ # Make the time series
+ x <- as.numeric(rep(0,512))
+ x <- merge(residuals(fit), x)
+ # Transform range to -pi - pi
+ x <-
I am calling fft and getting a "non-numeric" error:
+ fit <- lm(Quantity ~ DayOfYear, .sublist)
+ # Make the time series
+ x <- as.numeric(rep(0,512))
+ x <- merge(residuals(fit), x)
+ # Transform range to -pi - pi
+ x <- x - pi
+ x <- x * (2
4 matches
Mail list logo