Skip to content

Source code of add1

3 messages · Antonio José Sáez Castillo, Duncan Murdoch, Uwe Ligges

#
On 21/05/2007 4:57 AM, Antonio Jos? S?ez Castillo wrote:
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
#
Antonio Jos? S?ez Castillo wrote:
Sure. What is the problem?

You can easily look into them after download (or a bit less convenient 
even directly in R):

add1          # ah, it's generic!
methods(add1) # its methods
## Let's look into two methods:
stats:::add1.default
stats:::add1.lm

You might also want to look into the following R News article:

Ligges, U. (2006): R Help Desk: Accessing the Sources. R News 6 (4), 43-45.


Uwe Ligges