I have tried this with my actual data, and everything works smoothly, including the monotonically decreasing error rates. e.g.:
formula Error 1 Cr 0.41666667 2 Cr + Mg 0.16666667 3 Cr + Mg + Al 0.04166667 4 Cr + Mg + Al + Ba 0.00000000 Thank you for your help. Ty Smith [[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.