For example, I want to fit separate loess regressions for each value of some conditioning value. I can do the regressions with by(data.frame, conditioning.variable, function(subset) { loess(y ~ x, subset) }) but I'm at a loss as how to get the fitted values out and match them up with the rows in the original dataset.
Any suggestions?
Thanks,
Hadley
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
