does anybody have a suggestion as to how to use R to fit some date to a cosine function and then have some output statistics that will evaluate the fit? -- View this message in context: http://r.789695.n4.nabble.com/cosine-curve-fit-tp4650866.html Sent from the R help mailing list archive at Nabble.com.
cosine curve fit
2 messages · dysonsphere, Marc Girondot
Le 26/11/12 18:19, dysonsphere a ?crit :
does anybody have a suggestion as to how to use R to fit some date to a cosine function and then have some output statistics that will evaluate the fit?
You could take a look at the package phenology. It fits several periodic functions (cosine) onto timeseries of counts. I don't know what you want exactly and so I don't know if it can be on some help. In case it does not what you look for, we could discuss as I develop this package. A common alternative is to use fourrier transforms. Sincerely Marc
__________________________________________________________ Marc Girondot, Pr Laboratoire Ecologie, Syst?matique et Evolution Equipe de Conservation des Populations et des Communaut?s CNRS, AgroParisTech et Universit? Paris-Sud 11 , UMR 8079 B?timent 362 91405 Orsay Cedex, France Tel: 33 1 (0)1.69.15.72.30 Fax: 33 1 (0)1.69.15.73.53 e-mail: marc.girondot at u-psud.fr Web: http://www.ese.u-psud.fr/epc/conservation/Marc.html Skype: girondot