[R] Two sample t-test

From: Claire_6700 <chriseverclear_at_hotmail.com>
Date: Sun, 09 Mar 2008 05:55:15 -0700 (PDT)

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_at_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.
Received on Sun 09 Mar 2008 - 13:00:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 09 Mar 2008 - 15:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive