On Sat, Mar 19, 2011 at 6:11 AM, Evans, David G (DFG)
wrote:
> Hi,
>
> >From the following code (tweaked from another user):
>
>
>
> variable<-sample(rep(1:2,100))
>
> individual<-rep(1:3, length(variable))
>
> group<-rep(LETTERS[1:2],length(variable)/2)
>
> mydata<-data.frame(variable,individual,
Hi,
>From the following code (tweaked from another user):
variable<-sample(rep(1:2,100))
individual<-rep(1:3, length(variable))
group<-rep(LETTERS[1:2],length(variable)/2)
mydata<-data.frame(variable,individual,group)
individual<-as.factor(individual)
group<-as.factor(group)
histogram(~
2 matches
Mail list logo