roundpretty              package:StatDA              R Documentation

_R_o_u_n_d_p_r_e_t_t_y

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

     Round a value in a pretty way.

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

     roundpretty(kvec, maxdig)

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

    kvec: the variable to be rounded 

  maxdig: maximum number of digits after the coma 

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

  result: rounded value

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

     Peter Filzmoser <P.Filzmoser@tuwien.ac.at>

_R_e_f_e_r_e_n_c_e_s:

     C. Reimann, P. Filzmoser, R.G. Garrett, and R. Dutter: Statistical
     Data Analysis Explained. Applied Environmental Statistics with R.
     John Wiley and Sons Inc. To appear.

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

     'roundpretty.sub'

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

     roundpretty(0.873463029,5)
     roundpretty(0.073463029,5)
     roundpretty(0.003463029,5)
     roundpretty(0.000463029,5)

