[R] how can I look at .Internal(model.matrix(t, data))?
Romain Francois
romain at r-enthusiasts.com
Tue Mar 9 09:29:11 CET 2010
Also see Uwe's article in R news : "Accessing the source" :
http://cran.r-project.org/doc/Rnews/Rnews_2006-4.pdf
On 03/09/2010 09:22 AM, Peter Ehlers wrote:
>
> I imagine it's in
>
> https://svn.r-project.org/R/trunk/src/main/model.c
>
> -Peter Ehlers
>
> On 2010-03-05 12:43, Werner W. wrote:
>> Hi,
>>
>> I would like to see how model.matrix expands factor column to a set of
>> dummy columns. I think that is done int .Internal(model.matrix(t,
>> data)) which is called from model.matrix.default. But I have not idea
>> how I can look at this function. How can I get to such internal
>> functions?
>>
>> Thanks so much!
>> Werner
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/OIXN : raster images and RImageJ
|- http://tr.im/OcQe : Rcpp 0.7.7
`- http://tr.im/O1wO : highlight 0.1-5
More information about the R-help
mailing list