Skip to content
Prev 167354 / 398502 Next

Where to find the source codes for the internal function in stats package

Dear Dr Murdoch,

I understand in principle your explanation, but specifically where in the
source distribution are these functions found? For instance, I would like
to look at the code for model.matrix. Ex:
    ans <- .Internal(model.matrix(t, data))

I have looked at the source distribution but been unable to locate the
file which contains model.matrix.

Thanks for your help.

Murray Cooper

----- Original Message ----- 
From: "Duncan Murdoch" <murdoch at stats.uwo.ca>
To: "zhijie zhang" <rusers.sh at gmail.com>
Cc: <r-help at stat.math.ethz.ch>
Sent: Saturday, January 17, 2009 6:00 AM
Subject: Re: [R] Where to find the source codes for the internal function in 
stats package