[R] t.test

Erik Iverson eriki at ccbr.umn.edu
Fri Feb 5 18:39:26 CET 2010


See the identical example in ?t.test


ErikRH wrote:
> Hello! I have a fairly simple (I guess) question. Suppose I have a table
> like this:
> 
>      Score          Group
> 1   <numeric>   Ctrl
> 2   <numeric>   Ctrl
> .    ...        ...
> 10  <numeric>  Treat
> 11  <numeric>  Treat
> ..   ...      ...
> 25  <numeric>  Treat
> 
> What is(are) the simplest command(s) in R to perform an ordinary t-test for
> significant difference between the control group and the treatment group?
> 
> Thanks,
> 
> Erik
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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.



More information about the R-help mailing list