[R] Comparing 2 means. pls help

ali_protocol mohammadianalimohammadian at gmail.com
Mon Apr 9 08:58:59 CEST 2012


I am interested in the difference of 2 data:

mat1= c(2.2, 2.3, 2.2,2.5)
mat2= c(2.6, 2.8, 2.7,2.4)

mat= mat2-mat1

I perform an action on both mat1 and mat2, and I get
mat1prime and mat2prime:

mat1prime= c(2.5, 2.5, 2.3,2.5)
mat2prime= c(2.6, 2.8, 2.7,2.6)

matprime= mat2prime-mat1prime


I want to check wether mat and matprime have the same mean.
How should I do this in R?

--
View this message in context: http://r.789695.n4.nabble.com/Comparing-2-means-pls-help-tp4542237p4542237.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list