minor incompatibility in model.matrix

Douglas Bates bates@stat.wisc.edu
Thu, 18 Jun 1998 16:52:38 -0500 (CDT)


The S and S-PLUS versions of model.matrix will ignore elements of a
contrasts argument that do not correspond to factors.  R does not.  It
produces and error of
 Error: contrasts apply only to factors
even if the contrasts themselves are NULL.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._