rotationtest        package:ffmanova        R Documentation(latin1)

_R_o_t_a_t_i_o_n _t_e_s_t_i_n_g

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

     The functions perform rotation testing based on a matrix of
     hypothesis observations and a matrix of error observations.
     Adjusted p-values according to familywise error rates and false
     discovery rates are calculated.

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

     rotationtest(modelData, errorData, simN = 999, dfE = -1, dispsim = TRUE)
     rotationtests(xyObj, nSim, verbose = TRUE)

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

modelData: matrix of hypothesis observations

errorData: matrix of error observations

    simN: Number of simulations for each test. Can be a single value or
          a list of values for each term. 

     dfE: Degrees of freedom for error needs to be specified if
          'errorData' is incomplete

 dispsim: When 'TRUE', dots are displayed to illustrate simulation
          progress.

   xyObj: a design-with-responses object created by 'xy_Obj'

    nSim: vector of nonnegative integers.  The number of simulations to
          use for each term.

 verbose: logical.  Whether 'rotationtests' (and 'rotationtest') should
          be verbose.

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

     'modelData' and 'errorObs' correspond to 'hypObs' and 'errorObs'
     calculated by 'xy_Obj'. These matrices are efficient
     representations of sums of squares and cross-products (see
     'xy_Obj' for details). This means that 'rotationtest' can be
     viewed as a generalised F-test function.

     'rotationtests' is a wrapper function that calls 'rotationtest'
     for each term in the 'xyObj' and collects the results.

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

     Both functions return a list with components 

pAdjusted: adjusted p-values according to familywise error rates

 pAdjFDR: adjusted p-values according to false discovery rates

    simN: number of simulations performed for each term

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

     yvind Langsrud and Bjrn-Helge Mevik

_R_e_f_e_r_e_n_c_e_s:

     Langsrud, . (2005)  Rotation Tests. _Statistics and Computing_,
     *15*, 53-60. 

     Moen, B., Oust, A., Langsrud, ., Dorrell, N., Gemma, L., Marsden,
     G.L., Hinds, J., Kohler, A., Wren, B.W. and Rudi, K. (2005)  An
     explorative multifactor approach for investigating global survival
     mechanisms of Campylobacter jejuni under environmental conditions.
      _Applied and Environmental Microbiology_, *71*, 2086-2094.

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

     'unitest', 'unitests'

