permutations              package:e1071              R Documentation

_A_l_l _p_e_r_m_u_t_a_t_i_o_n_s _o_f _i_n_t_e_g_e_r_s _1:_n

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

     Returns a matrix containing all permutations of the integers '1:n'
     (one permutation per row).

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

     permutations(n)

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

       n: Number of element to permute.

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

     Friedrich Leisch

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

     permutations(3)

