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. ______________________________________________ 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.