[R-sig-eco] [R-sig-phylo] GEE and AIC
Simon Blomberg
s.blomberg1 at uq.edu.au
Tue Jun 3 03:16:52 CEST 2008
On Mon, 2008-06-02 at 15:34 +0200, Emmanuel Paradis wrote:
[snip]
> R> model.matrix(~ x)[, -1]
> x2 x3 x4
> 1 0 0 0
> 2 0 0 0
> 3 1 0 0
> 4 1 0 0
> 5 0 1 0
> 6 0 1 0
> 7 0 0 1
> 8 0 0 1
Or even just model.matrix(~ x-1)
Simon.
--
Simon Blomberg, BSc (Hons), PhD, MAppStat.
Lecturer and Consultant Statistician
Faculty of Biological and Chemical Sciences
The University of Queensland
St. Lucia Queensland 4072
Australia
Room 320 Goddard Building (8)
T: +61 7 3365 2506
http://www.uq.edu.au/~uqsblomb
email: S.Blomberg1_at_uq.edu.au
Policies:
1. I will NOT analyse your data for you.
2. Your deadline is your problem.
The combination of some data and an aching desire for
an answer does not ensure that a reasonable answer can
be extracted from a given body of data. - John Tukey.
More information about the R-sig-ecology
mailing list