Re: [R] sinusoidal relationship

2009-10-07 Thread Ravi Varadhan
/People/Faculty_personal_pages/Varadhan.h tml -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of HAKAN DEMIRTAS Sent: Wednesday, October 07, 2009 11:28 AM To: r-help@r-project

[R] sinusoidal relationship

2009-10-07 Thread HAKAN DEMIRTAS
Hi, Suppose x and y are vectors whose elements are known. I know that there is a sinusoidal relation between them. In other words, y=a*sin(bx) where b is probably a function of pi. How do I find a and b in R? Hakan [[alternative HTML version deleted]] _