Skip to content

minor incompatibility in model.matrix

1 message · Douglas Bates

#
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._