recovery {multcomp} | R Documentation |
Recovery time data set taken from Westfall et al. (1999, p. 80). Many-to-one comparisons according to Dunnett in an unbalanced one-way layout.
data(recovery)
This data frame contains the following variables
b0
, b1
,
b3
, b4
.See Westfall et al. (1999, p. 80)
P. H. Westfall, R. D. Tobias, D. Rom, R. D. Wolfinger, Y. Hochberg (1999). Multiple Comparisons and Multiple Tests Using the SAS System. Cary, NC: SAS Institute Inc.
data(recovery) # one-sided simultaneous confidence intervals for Dunnett # in the one-way layout ci <- simint(minutes ~ blanket, data=recovery, conf.level=0.9, alternative="less",eps=0.0001) summary(ci) plot(ci,cex.axis=1.5, lwd=1.5) # same results, but specifying the contrast matrix by hand C <- c(0, 0, 0, -1, -1, -1, 1, 0, 0, 0, 1, 0, 0, 0, 1) C <- matrix(C, ncol=5) # numerate the contrasts rownames(C) <- paste("C", 1:nrow(C), sep="") test <- simint(minutes~blanket, data=recovery, conf.level=0.9, alternative="less",eps=0.0001, cmatrix=C) print(test) # same results, but more detailed information using the summary method summary(test)