Re: [R] Sine Regression in R

2010-12-20 Thread David Winsemius
On Dec 20, 2010, at 3:01 PM, Paolo Rossi wrote: Hi everyone, I am trying to fit a sine function on one year of wind data. I have two questions below. Looking around on the net I managed to get the following: Sine Equation: y = a + b * sin( c + d*x ) b is the amplitude, c is the phase shi

Re: [R] Sine Regression in R

2010-12-20 Thread Dennis Murphy
Hi: Try using package sos to address your question re which packages perform sine/trig regression: library(sos) findFn('sine regression')# 12 matches on my system findFn('trigonometric regression') # 9 matches The results point largely to the mFilter, oce, circStats and circular packages. I

[R] Sine Regression in R

2010-12-20 Thread Paolo Rossi
Hi everyone, I am trying to fit a sine function on one year of wind data. I have two questions below. Looking around on the net I managed to get the following: Sine Equation: y = a + b * sin( c + d*x ) b is the amplitude, c is the phase shift, d is something deal with periodicty of data*.* Thi