On Sat, 2 Aug 2008, Gordon Hughes wrote:
Would it be possible to extend the specification of the function?
The syntax
that I have in mind is:
dummify(x,n) where (a) n=0 means no categories are dropped, (b) n=1 means
that the first category is dropped (default), and (c) n=2 means that the last
category is dropped.
Better still: dummify(x,n) drops the n-th category. When n=NA, no
categories are dropped.
Do you like it?
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti(a)univpm.it
http://www.econ.univpm.it/lucchetti