Displaying 1 result from an estimated 1 matches for "timemorning".
2010 Dec 06
2
less than full rank contrast methods
...t;,
"Wednesday", "Wednesday", "Friday",
"Saturday", "Saturday", "Friday"))
For a single factor, I can do this this using
> head(model.matrix(~time -1, data = when))
timeafternoon timemorning timenight
1 1 0 0
2 0 0 1
3 1 0 0
4 0 1 0
5 0 1 0
6 0 1 0
but this breakdown muti-variable formulas such as "time...