Re: [R] Matrix of dummy variables from a factor

From: roger koenker <>
Date: Wed 07 Dec 2005 - 10:31:19 EST

On Dec 6, 2005, at 3:27 PM, Berton Gunter wrote:

> But note: There are (almost?) no situations in R where the dummy
> variables
> coding is needed. The coding is (almost?) always handled properly
> by the
> modeling functions themselves.
> Question: Can someone provide a "straightforward" example where the
> dummy
> variable coding **is** explicitly needed?

Bert's question offers an opportunity for me to mention (again) my long standing wish
for someone to write a version of model.matrix that directly produced a matrix
in one of the common sparse matrix formats. This could be a good project for one of
you who like using ";" ?


url:            Roger Koenker
email            Department of Economics
vox:     217-333-4558                University of Illinois
fax:       217-244-6678                Champaign, IL 61820

______________________________________________ mailing list PLEASE do read the posting guide! Received on Wed Dec 07 10:38:45 2005

This archive was generated by hypermail 2.1.8 : Wed 07 Dec 2005 - 14:28:33 EST