> I am thinking about using 'predict' command to generate the prediction of z > with the new data.frame but there should be a better way.
I'm puzzled. Why would you think that? This is the canonical way to do predictions in R. Bert Gunter Genentech Nonclinical Statistics ______________________________________________ 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.