Ben Zuckerberg <bz73 <at> cornell.edu> writes: > 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).
There is an example using lme (yes, LINEAR) fit on page 239 of Pinheiro/Bates Mixed Effects Book (ovarian cycle). If you do not have the book at hand, have a look at library/nlme/scripts/ch05.r. Dieter ______________________________________________ R-help@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.