boxplot.formula             package:base             R Documentation

_F_o_r_m_u_l_a _N_o_t_a_t_i_o_n _f_o_r _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
     using formula notation.

_U_s_a_g_e:

     boxplot(formula, data = NULL, ..., subset)

_A_r_g_u_m_e_n_t_s:

 formula: a formula, such as `y ~ x'.

    data: a data.frame (or list) from which the variables in `formula'
          should be taken.

     ...: arguments to the default boxplot method and graphical
          parameters may also be passed as arguments, see `par'.

  subset: an optional vector specifying a subset of observations to be
          used for plotting.

_D_e_t_a_i_l_s:

     This is a method of the generic function `boxplot'.  It operates
     by setting up the data from the formula specification, and then
     calling `boxplot.default'.

_S_e_e _A_l_s_o:

     `boxplot.default'

_E_x_a_m_p_l_e_s:

     data(OrchardSprays)
     boxplot(decrease ~ treatment, data = OrchardSprays,
             log = "y", col="bisque")

