The examples in ?t.test and ?formula will help you. Don't forget "An Introduction to R" too to import your data in a data frame first...
2011/9/9 Mihovil Pletikos <mihovil.pleti...@gmail.com>: > hi > i am new to r and i would like to how could i do something like this in > spss: > > T-TEST GROUPS=who('1' '2') > /MISSING=ANALYSIS > /VARIABLES= X3881686 X2672712 X2842570 X3526544 X2902531 X2402942 X3382216 > X3771800 X2427469 X2392945 X2453006 X2562821 X3416651 X3552083 X3721851 > X2477438 X2926969 X3026969 X3442176 X3796335 X2622772 X3636470 X2952497 > X2367537 X3332276 X2427500 X2647315 > /CRITERIA=CI(.95). > > so i wouldn't have to enter the name of columns by hand, but automaticly > ... please help me > > Mihovil > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. > ______________________________________________ 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.