Re: [Rd] model.matrix metadata

2014-10-17 Thread Charles Berry
Patrick O'Reilly gmail.com> writes: > > Hi, > > As far as I am aware, the model.matrix function does not return > perfect metadata on what each column of the model matrix "means". > > The columns are named (e.g. age:genderM), but encoding the metadata as > strings can result in ambiguity. For

[Rd] model.matrix metadata

2014-10-17 Thread Patrick O'Reilly
Hi, As far as I am aware, the model.matrix function does not return perfect metadata on what each column of the model matrix "means". The columns are named (e.g. age:genderM), but encoding the metadata as strings can result in ambiguity. For example, the dummy variables created when the factors v