2009/6/14 Juliet Hannah :
> Hi All,
>
> I am trying to understand panel functions. Let's use this example.
>
>
> library(lattice)
> time<-c(rep(1:10,5))
> y <-time+rnorm(50,5,2)
> group<-c(rep('A',30),rep('B',20))
> subject<-c(rep('a',10),rep('b',10),rep('c',10),rep('d',10),rep('e',10))
> myData <-
Hi All,
I am trying to understand panel functions. Let's use this example.
library(lattice)
time<-c(rep(1:10,5))
y <-time+rnorm(50,5,2)
group<-c(rep('A',30),rep('B',20))
subject<-c(rep('a',10),rep('b',10),rep('c',10),rep('d',10),rep('e',10))
myData <-data.frame(subject,group,time,y)
head(myData)
2 matches
Mail list logo