On 21/05/2007 4:57 AM, Antonio José Sáez Castillo wrote: > We are developing a new regression model. We now need to develop an analogous > to add1 in stat package. > My problem is about update.formula, but I think I could solve this problem if > I can get source code of add1. > So, can I get the source code of add1?
It's in https://svn.r-project.org/R/trunk/src/library/stats/R/add.R or substitute "tags/R-x-y-z" for "trunk" if you want to see what it looked like in R version x.y.z. Duncan Murdoch ______________________________________________ R-help@stat.math.ethz.ch 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.