fivenum                package:stats                R Documentation

_T_u_k_e_y _F_i_v_e-_N_u_m_b_e_r _S_u_m_m_a_r_i_e_s

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

     Returns Tukey's five number summary (minimum, lower-hinge, median,
     upper-hinge, maximum) for the input data.

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

     fivenum(x, na.rm = TRUE)

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

       x: numeric, maybe including 'NA's and +/-'Inf's.

   na.rm: logical; if 'TRUE', all 'NA' and 'NaN's are dropped, before
          the statistics are computed.

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

     A numeric vector of length 5 containing the summary information. 
     See 'boxplot.stats' for more details.

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

     'IQR', 'boxplot.stats', 'median', 'quantile', 'range'.

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

     fivenum(c(rnorm(100),-1:1/0))

