Giovanni Petris GPetris at uark.edu writes:
## Example: Ratings of prime minister (Agresti, Table 12.1, p.494)
rating - matrix(c(794, 86, 150, 570), 2, 2)
dimnames(rating) - list(First = c(approve, disapprove),
+ Second = c(approve, disapprove))
rating
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Bolker
Sent: Friday, May 02, 2008 7:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [R] Data manipulation for random intercept GLMM
Giovanni Petris GPetris at uark.edu writes:
## Example: Ratings of prime
Hello,
I am working on some examples of GLMM for my students but I am afraid
that my way of preparing a dataframe to pass to lmer will make them
think that R is a very difficult and un-natural language. Here is for
example a simple data set about approval ratings on two different
surveys for a
3 matches
Mail list logo