[Rd] contrasts (PR#7695)

From: <david.clayton_at_cimr.cam.ac.uk>
Date: Fri 18 Feb 2005 - 23:53:11 EST

Full_Name: David Clayton
Version: 2.0.1
OS: Linux
Submission from: (NULL) (

Setting contrasts for a factor to be used in a model by

contrasts(fact, how.many) <- mat

where mat is a matrix does not coerce mat into storage mode "double". The resultant model.matrix is garbage.

R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Feb 18 23:13:09 2005

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:02:53 EST