Dear all, Thanks a lot for the help. It worked very well in the end. Best regards, Marianne -- View this message in context: http://r.789695.n4.nabble.com/fitting-a-sinus-curve-tp3700833p3827044.html Sent from the R help mailing list archive at Nabble.com.