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

______________________________________________
R-help@r-project.org 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.

Reply via email to