[R] Fitting a sine wave using solver

From: Ben Zuckerberg <bz73_at_cornell.edu>
Date: Thu, 20 Nov 2008 17:37:43 -0500


Greetings,

I have several sets of oscillation data and would like to estimate the parameters of a sine function to each set (and hopefully automate this). A colleague provided an excel sheet that uses solver to minimize the RSS after fitting the sine function to each data set, but this cumbersome and difficult to automate. Is there a method in R for fitting a given sine function to a supplied data using maximum likelihood estimation (or minimizing the RSS). Thanks in advance.

-- 
Benjamin Zuckerberg, Ph.D.
Post-doctoral Associate
Spatial Ecologist, Citizen Science
Cornell Laboratory of Ornithology
159 Sapsucker Woods Road
Ithaca, NY 14850 
Tele: 607-254-2174
Fax: 607-254-2111

______________________________________________
R-help_at_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.
Received on Thu 20 Nov 2008 - 22:42:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 21 Nov 2008 - 19:31:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive