[R] How to get the full (overparametrized) model matrix

Søren Højsgaard Soren.Hojsgaard at agrsci.dk
Tue Jan 13 08:00:36 CET 2004

Dear all,
If I use model.matrix on a formula including factors, then "superflous" columns of the model matrix are removed (or rather estimability constraints are imposed). Is there a way of getting the "full" model matrix, i.e. without removing redundant columns?
Best regards
Søren Højsgaard

Søren Højsgaard,  PhD, Head of Research Unit     Phone: +45 8999 1703
Biometry Research Unit, 			    Fax:     +45 8999 1300
Danish Institute of Agricultural Sciences        E-mail: sorenh at agrsci.dk
Research Centre Foulum, DK-8830 Tjele, Denmark   Homepage : http://www.jbs.agrsci.dk/~sorenh/

More information about the R-help mailing list