Re: [R] how can I look at .Internal(model.matrix(t, data))?

2010-03-09 Thread Peter Ehlers
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

Re: [R] how can I look at .Internal(model.matrix(t, data))?

2010-03-09 Thread Romain Francois
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

[R] how can I look at .Internal(model.matrix(t, data))?

2010-03-05 Thread Werner W.
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