

clip(timeslab)                               R Documentation

_C_l_i_p _a _V_e_c_t_o_r _A_b_o_v_e _a_n_d _B_e_l_o_w

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

     Clip a Vector Above and Below

_U_s_a_g_e_:

     clip(x,low=-1.e20,up=1e.20)

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

       x: A vector.

     low: The value that will replace any element of {`x'}
          that is less than {`low'}.

      up: The value that will replace any element of {`x'}
          that is greater than {`up'}.

_V_a_l_u_e_:

       x: The original {`x'} with any element less that
          {`low'} replaced by {`low'} and any element
          greater than {`up'} replaced by {`up'}.

