[R] Non-linear fit?

Judson judsonblake at msn.com
Wed Nov 25 04:32:34 CET 2015


I need to fit a sinusoidal curve to 
x-y data that exhibits a sinusoidal 
pattern.   The curve will be: 
 y = a*sin(w*x +p) ; 
where I need to get the best 
fit choice for the parameters 
a, w, and p.   Could anyone 
suggest which package and 
routine I should use?   I have 
less than 1000 data points. 
Can this problem be somehow 
coerced into a linear fit?     
....... judson blake 		 	   		  
	[[alternative HTML version deleted]]



More information about the R-help mailing list