ttestFun             package:marrayTools             R Documentation

_A _f_u_n_c_t_i_o_n _t_h_a_t _c_a_l_c_u_l_a_t_e_s _t_h_e _t-_s_t_a_t_i_s_t_i_c_s
_o_f _e_a_c_h _g_e_n_e _i_n _a _m_u_l_t_i-_s_l_i_d_e _m_i_c_r_o_a_r_r_a_y _e_x_p_e_r_i_m_e_n_t.

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

     Returns a function that calculate 't.test'.

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

     ttestFun(y = NULL, var.equal = FALSE, alternative = c("two.sided", "less", "greater"), na.rm = TRUE)

_A_r_g_u_m_e_n_t_s:

       y: vector of class labels. Must consist of integers 1 and 2.

var.equal: a logical variable indicating whether to treat the two
          variances as being equal. If `TRUE' then the pooled variance
          is used to estimate the variance otherwise the Welch
          approximation to the degrees of freedom is used.

alternative: a character string specifying the alternative hypothesis,
          must be one of `"two.sided"' (default), `"greater"' or
          `"less"'.  You can specify just the initial letter.

   na.rm: If TRUE, the NA's are omit from the analysis.

_V_a_l_u_e:

     Returns a function that performs 't.test'.

_A_u_t_h_o_r(_s):

     Yee Hwa (Jean) Yang

_S_e_e _A_l_s_o:

     't.test'

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

     x <- rnorm(10)
     y <- ttestFun()
     y(x)

