Hi, I've got a data set with a control group and a number of experimental groups, that have unequal sample sizes, and am measuring the number of people in each that respond yes or no. I'd like to use a dunnett test in R, where the syntax is supposed to be like:
library(multcomp) test.dunnett=glht(anova_results,linfct=mcp(method="Dunnett")) confint(test.dunnett) plot(test.dunnett) but: 1) How do I run a dunnett test without doing the ANOVA (which wouldn't have its requirements satisfied, as the measurements are not independent due to the control group)? 2) Do I have to tell the test what my sample sizes are, or will it calculate the sums itself? Here's my matrix: Control A B C Yes 23 19 27 53 No 623 523 823 469 thanks, imran [[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.