Hi, Perhaps simpler is better. What I would like to do is this:
fit <- test( measured_values, fitted_values ) Where: - the return value from the "test" function is: *0 < fit < 1*. - *measured_values* are the observed data. - *fitted_values* are the data for the curve produced by GAM for the measured_values. What R function (package?) has a test that I can use to compare the data sets? Thank you. Dave [[alternative HTML version deleted]] ______________________________________________ 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.