By doing "cbind(ID,TREAT,T1,T2)" you are coercing everything to
character and therefore factors in the dataframe. Why didn't you just
say:
data<-data.frame(ID,TREAT,T1,T2)
On Jan 29, 2008 9:02 PM, kamokoi <[EMAIL PROTECTED]> wrote:
>
> R-helpers,
>
> Thanks in advance for your help. I am an R
R-helpers,
Thanks in advance for your help. I am an R newbie and I am having trouble
figuring out the easiest/most efficient way to assign classes to columns in
a newly created data frame. R seems to want to convert everything to a
factor when I use the cbind function to compile vectors into a
2 matches
Mail list logo