Hi,

I want to perform t-test in R for each individual car. Here is what i have.
Is there a way i can test each car?


The original table (test.csv)

Car     Tester2 Tester2 Controller1     Controller2
Audi    0.56    0.9     0.5     0.9
Toyota  0.2     0.9     0.9     0.2
Honda   0.5     0.9     0.1     0.5
BMW     0.2     0.3     0.5     0.7


> cars<-read.table("c://test.csv",header=T,sep=",",
+ skip=2,comment.char="")
> cars
  Toyota X0.2 X0.9 X0.9.1 X0.2.1
1  Honda  0.5  0.9    0.1    0.5
2    BMW  0.2  0.3    0.5    0.7
> head(cars)
  Toyota X0.2 X0.9 X0.9.1 X0.2.1
1  Honda  0.5  0.9    0.1    0.5
2    BMW  0.2  0.3    0.5    0.7

why is R only showing two cars when i type head?

many thanks.
-- 
View this message in context: 
http://www.nabble.com/Two-sample-t-test-tp15925876p15925876.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to