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

From: Andrew Robinson <A.Robinson_at_ms.unimelb.edu.au>
Date: Wed 07 Dec 2005 - 12:47:37 EST

Bert,

how about when making predictions of contrasts using, for example, estimable() from the gmodels package? I find it very useful.

Andrew

> -----Original Message-----
> From: r-help-bounces@stat.math.ethz.ch
> [mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Berton Gunter
> Sent: Wednesday, 7 December 2005 8:27 AM
> To: 'Liaw, Andy'; 'Charles H. Franklin'; r-help@stat.math.ethz.ch
> Subject: Re: [R] Matrix of dummy variables from a factor
>
> 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 Gunter
> Genentech Non-Clinical Statistics
> South San Francisco, CA
>
> "The business of the statistician is to catalyze the scientific learning
> process." - George E. P. Box

-- 
Andrew Robinson
Senior Lecturer in Statistics                       Tel: +61-3-8344-9763
Department of Mathematics and Statistics            Fax: +61-3-8344-4599
University of Melbourne, VIC 3010 Australia
Email: a.robinson_at_ms.unimelb.edu.au    Website: http://www.ms.unimelb.edu.au

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Dec 08 01:25:16 2005

This archive was generated by hypermail 2.1.8 : Thu 08 Dec 2005 - 02:33:03 EST