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]]
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.