Peterko <lanikpeter <at> gmail.com> writes: > Hello, i need to find in time serie, k=1,2,3...(how if possible) most domain > frequencies and than smooth original serie by Fourier row y=mean + > a1*Cos(2*pi/freq*t)+b1*Sin(2*pi/freq*t)+a2...... > > numbers a1,b1 ... i will have from simple regresion, i need only to find k > msot domain frequensies a than i will have a1,b1,....ak,bk - coeficients.
It is very difficult to understand what you want, mainly the part about the "simple regression" in Fourier context. For simple filtering/smoothing, check http://markmail.org/message/qt2222yxkwlesy75 Dieter ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.