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))

