unit.pmin                package:grid                R Documentation

_P_a_r_a_l_l_e_l _U_n_i_t _M_i_n_i_m_a _a_n_d _M_a_x_i_m_a

_D_e_s_c_r_i_p_t_i_o_n:

     Returns a unit object whose i'th value is the minimum (or maximum)
     of the i'th values of the arguments.

_U_s_a_g_e:

     unit.pmin(...)
     unit.pmax(...)

_A_r_g_u_m_e_n_t_s:

     ...: One or more unit objects. 

_D_e_t_a_i_l_s:

     The length of the result is the maximum of the lengths of the
     arguments;  shorter arguments are recycled in the usual manner.

_V_a_l_u_e:

     A unit object.

_A_u_t_h_o_r(_s):

     Paul Murrell

_E_x_a_m_p_l_e_s:

     max(unit(1:3, "cm"), unit(0.5, "npc"))
     unit.pmax(unit(1:3, "cm"), unit(0.5, "npc"))

