ORDER                  package:zoo                  R Documentation

_O_r_d_e_r_i_n_g _P_e_r_m_u_t_a_t_i_o_n

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

     'ORDER' is a generic function for computing ordering permutations.

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

     ORDER(x, ...)
     ## Default S3 method:
     ORDER(x, ..., na.last = TRUE, decreasing = FALSE)

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

       x: an object.

     ...: further arguments to be passed to methods.

 na.last: for controlling the treatment of 'NA's. If 'TRUE', missing
          values in the data are put last; if 'FALSE', they are put
          first; if 'NA', they are removed. 

decreasing: logical. Should the sort order be increasing or decreasing?

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

     'ORDER' is a new generic function which aims at providing the
     functionality of the non-generic base function 'order' for
     arbitrary objects. Currently, there is only a default method which
     simply calls 'order'.

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

     'order'

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

     ORDER(rnorm(5))

