home *** CD-ROM | disk | FTP | other *** search
-
- _K_r_u_s_k_a_l-_W_a_l_l_i_s _R_a_n_k _S_u_m _T_e_s_t
-
- kruskal.test(x, g)
-
- _A_r_g_u_m_e_n_t_s:
-
- x : a numeric vector of data values, or a list of
- numeric data vectors.
-
- g : a vector or factor object giving the group
- for the corresponding elements of x. Ignored
- if x is a list.
-
- _D_e_s_c_r_i_p_t_i_o_n:
-
- kruskal.test performs a Kruskal-Wallis rank sum test of
- the null that the location parameters of the distribu-
- tion of x are the same in each group (sample). The
- alternative is that they differ in at least one.
-
- If x is a list, its elements are taken as the samples
- to be compared, and hence have to be numeric data vec-
- tors. In this case, g is ignored, and one can simply
- use kruskal.test(x) to perform the test. If the sam-
- ples are not yet contained in a list, use
- kruskal.test(list(x, ...)).
-
- Otherwise, x must be a numeric data vector, and g must
- be a vector or factor object of the same length as x
- giving the group for the corresponding elements of x.
-
-