in a questionair i ask: Which of the following software packages do you use for data analysis? 1 R 2 S-Plus 3 SAS 4 SPSS 5 Stata 6 others (In this question, respondents are asked to mark the name of each package they use. Respondents may mark any number of packages) and code the answer as: q1_R q1_SPlus q1_SAS q1_SPSS q1_Stata q1_others 1. 1 0 0 0 0 1 2. 1 1 0 0 1 0 3. 0 0 0 0 1 0 4. 0 0 1 0 0 0 5. 0 0 1 0 0 1 my question: is there any function dealing with this data? -- Department of Sociology Fudan University,Shanghai Blog:http://sociology.yculblog.com
in a questionair i ask: Which of the following software packages do you use for data analysis? 1 R 2 S-Plus 3 SAS 4 SPSS 5 Stata 6 others (In this question, respondents are asked to mark the name of each package they use. Respondents may mark any number of packages) and code the answer as: q1_R q1_SPlus q1_SAS q1_SPSS q1_Stata q1_others 1. 1 0 0 0 0 1 2. 1 1 0 0 1 0 3. 0 0 0 0 1 0 4. 0 0 1 0 0 0 5. 0 0 1 0 0 1 my question: is there any function dealing with this data? -- Department of Sociology Fudan University,Shanghai Blog:http://sociology.yculblog.com
Certainly yes and more. Try checking under http://finzi.psych.upenn.edu/nmz.html and http://cran.r-project.org/manuals.html Regards, Adai On Sun, 2005-09-11 at 20:12 -0500, Hongyu Sun wrote:> Hi, Sorry I have to bother a question. > > Does R have the functions to do lsd, tukey, bonferonni, contrast etc. like > in SAS? > > Many thanks, > > HS > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
R has various methods for multiple comparison procedures. See package multcomp, or ?TukeyHSD or ?pairwise.t.test for example. An RSiteSearch("multiple comparison") returned 187 results. A priori contrasts can be constructed using the make.contrasts function in the gmodels package, for example. We try not to do anything like in SAS. Simon. At 11:12 AM 12/09/2005, Hongyu Sun wrote:>Hi, Sorry I have to bother a question. > >Does R have the functions to do lsd, tukey, bonferonni, contrast etc. like >in SAS? > >Many thanks, > >HS > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html