model.matrix(.) and all that

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Thu, 18 Dec 1997 09:10:54 +0100


Maybe just a minor thing,
but since we are aiming for  S compatibility, here :

       R> x_ 1:5
       R> model.matrix(x ~ x)
       Error: length of namelist must equal dims

whereas in  S,

	model.matrix(x ~ x)  ===  model.matrix(x ~ 1)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._