Extremes                 package:gmp                 R Documentation

_R_e_t_u_r_n_s _t_h_e _m_a_x_i_m_a _a_n_d _m_i_n_i_m_a _o_f _t_h_e _i_n_p_u_t _v_a_l_u_e_s.

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

     Theses functions overload min and max function for big rationals
     and big integers

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

          max.bigz(..., na.rm=FALSE)
          max.bigq(..., na.rm=FALSE)
          min.bigz(..., na.rm=FALSE)
          min.bigq(..., na.rm=FALSE)

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

     ...: numeric arguments

   na.rm: a logical indicating whether missing values should be
          removed.

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

     return an element of class bigz or bigq.

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

     Antoine Lucas

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

     'max'

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

       x = as.bigz(1:10)
       ##_call max.bigz => return 10
       max(x)
       min(x)

       x = as.bigq(1:10)
       ##_call max.bigq
       max(x)
       min(x)
       

