On 9/18/07, Mihalicza Péter <[EMAIL PROTECTED]> wrote:
> Sorry for the confusion, I was not clear enough, so I made a small
> example to illustrate:
>
> >m=data.frame(fac1=rep(c(1,2),3), fac2=c("a","b","b","b","a","b"),
> num1=1:6, num2=7:12)
> > m$fac1=as.factor(m$fac1)
> > m
> fac1 fac2 num1
Sorry for the confusion, I was not clear enough, so I made a small
example to illustrate:
>m=data.frame(fac1=rep(c(1,2),3), fac2=c("a","b","b","b","a","b"),
num1=1:6, num2=7:12)
> m$fac1=as.factor(m$fac1)
> m
fac1 fac2 num1 num2
11a17
22b28
31b3
2 matches
Mail list logo