Re: [R] Help with seting up comparison

2010-06-08 Thread Greg Snow
...@imail.org 801.408.8111 From: Bart Joosen [mailto:bartjoo...@hotmail.com] Sent: Monday, June 07, 2010 11:37 PM To: Greg Snow; r-help Subject: RE: [R] Help with seting up comparison Greg, the animals are a sample of a larger population, as you guessed. I used lmer to estimate the effects: lmer(Count

[R] Help with seting up comparison

2010-06-07 Thread Bart Joosen
Hi, I tried on this, but couldn't figure it out: Suppose I have a dataframe as follows: dat - data.frame(Day=rep(rep(c(1,2), each=4),2), Animal = rep(c(1,2), each=8), Count=c(rnorm(8, 100), rnorm(8,90))) 2 animals are being examined on 2 different days. Count is the result. Now I need to point

Re: [R] Help with seting up comparison

2010-06-07 Thread Greg Snow
- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of Bart Joosen Sent: Monday, June 07, 2010 9:14 AM To: r-help@r-project.org Subject: [R] Help with seting up comparison Hi, I tried on this, but couldn't figure it out: Suppose I have a dataframe

Re: [R] Help with seting up comparison

2010-06-07 Thread Bart Joosen
To: bartjoo...@hotmail.com; r-help@r-project.org Date: Mon, 7 Jun 2010 14:54:47 -0600 Subject: RE: [R] Help with seting up comparison Are you interested in only those 35 animals (not every going to look at any other animals other than those 35, but you want to predict what will happen for those