krandtest                package:ade4                R Documentation

_C_l_a_s_s _o_f _t_h_e _P_e_r_m_u_t_a_t_i_o_n _T_e_s_t_s (_i_n _C).

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

     Plot and print many permutation tests. Objects of class
     ''krandtest'' are data frame with _n+1_ rows and _p_ columns. 
      Each column corresponds to a permutation test : the first value
     is the observed-value and the _n_ others are the simulated ones.

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

     plot.krandtest(x, mfrow = NULL, nclass = NULL, main.title = names(x), ...)
     print.krandtest(x, ...)

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

       x: : an object of class ''krandtest''

   mfrow: : a vector of the form 'c(nr,nc)', otherwise computed by as
          special own function 'n2mfrow'

  nclass: : a number of intervals for the histogram

main.title: : a string of character for the main title

     ...: : further arguments passed to or from other methods

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

     'plot.krandtest' draws the _p_ simulated values histograms and the
     position of the observed value.

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

     'randtest'

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

     wkrandtest <- data.frame(eg1=c(0, rnorm(200)))
     for (x0 in c(1.2,2.4,3.4,5.4,20.4)) {
         wkrandtest <- cbind.data.frame(wkrandtest, c(x0, rnorm(200)))
     }
     names(wkrandtest) <- paste ("Test",1:6,sep="_")
     class(wkrandtest) <- "krandtest"
     wkrandtest
     plot(wkrandtest)

