

boxplot {base}                               R Documentation

_B_o_x _P_l_o_t_s

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

     Produce box-and-whisker plot(s) of the given (grouped)
     values.

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

     boxplot(x, ...)

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

       x: an R object.

     ...: methods may have additional arguments.

_D_e_t_a_i_l_s_:

     This is a generic function.  It currently has a default
     method (`boxplot.default') and a formula interface
     (`boxplot.formula').

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

     See the help for `boxplot.default'.

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

     `boxplot.default', `boxplot.formula'.

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

     ## boxplot on a formula:
     data(InsectSprays)
     boxplot(count ~ spray, data = InsectSprays, col = "lightgray")

     ## boxplot on a matrix:
     mat <- cbind(Uni05 = (1:100)/21, Norm = rnorm(100),
                  T5 = rt(100, df = 5), Gam2 = rgamma(100, shape = 2))
     boxplot(data.frame(mat), main = "boxplot(data.frame(mat), main = ...)")

