[R] t.test per line

2010-05-05 Thread Mohamed Lajnef
Dear All, I apologize for this trivial question, I can not find the solution I try to use t.test function per line in the data.frame, But i dont'understand the error message my program is as follows group1-gl(2,20) fun-function(x){ m-data.frame(group1,x) #anova(aov(x ~ group1, m)) t.est(x

Re: [R] t.test per line

2010-05-05 Thread Erik Iverson
Mohamed Lajnef wrote: Dear All, I apologize for this trivial question, I can not find the solution I try to use t.test function per line in the data.frame, But i dont'understand the error message my program is as follows group1-gl(2,20) fun-function(x){ m-data.frame(group1,x)

Re: [R] t.test per line

2010-05-05 Thread David Winsemius
On May 5, 2010, at 12:15 PM, Mohamed Lajnef wrote: Dear All, I apologize for this trivial question, I can not find the solution I try to use t.test function per line in the data.frame, But i dont'understand the error message my program is as follows group1-gl(2,20) fun-function(x){