chop                 package:ggplot                 R Documentation

_C_h_o_p

_D_e_s_c_r_i_p_t_i_o_n:

     Chop a continuous variable into a categorical variable.

_U_s_a_g_e:

     chop(x, n=5, method="quantiles", midpoint=0, digits=2)

_A_r_g_u_m_e_n_t_s:

       x: 

       n: 

  method: 

midpoint: 

  digits: 

_D_e_t_a_i_l_s:

     Chop provides a convenient interface to the main methods of
     converting a continuous variable into a categorical variable.

_A_u_t_h_o_r(_s):

     Hadley Wickham <h.wickham@gmail.com>

_E_x_a_m_p_l_e_s:

