recovery              package:multcomp              R Documentation

_R_e_c_o_v_e_r_y _T_i_m_e _D_a_t_a _S_e_t

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     data(recovery)

_F_o_r_m_a_t:

     This data frame contains the following variables

     _b_l_a_n_k_e_t Blanket type at 4 levels: 'b0', 'b1', 'b3', 'b4'.

     _m_i_n_u_t_e_s Response variable: recovery time after a surgical 
          procedure.

_D_e_t_a_i_l_s:

     See Westfall et al. (1999, p. 80)

_S_o_u_r_c_e:

     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.

_E_x_a_m_p_l_e_s:

     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)

