[R] fit sine?

Randy Zelick zelickr at pdx.edu
Tue Dec 19 20:52:16 CET 2006


Hello list,

I am making scatterplots of data that vary sinusoidally over 24 hours. 
With a bit of previous help from this list, I now can get an x-axis with 
time tics from 00:00 on the left edge to 12:00 in the middle and 00:00 on 
the right edge, i.e., just 24 hours.

Now I would like to fit a sin function to the plot. I've looked all over 
CRAN and the web in general, but have not found a method or package for 
this.

Can anyone make a suggestion?

Thanks,

=Randy=


Using R 2.4.0 on Solaris (unix).


R. Zelick				email: zelickr at pdx.edu
Department of Biology			voice: 503-725-3086
Portland State University		fax:   503-725-3888

mailing:
P.O. Box 751
Portland, OR 97207

shipping:
1719 SW 10th Ave, Room 246
Portland, OR 97201



More information about the R-help mailing list