boxplotlegend             package:StatDA             R Documentation

_B_o_x_p_l_o_t_l_e_g_e_n_d

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

     This function plots the legend in form of a boxplot. The symbols
     represent the different levels (e.g. whiskers, median, ...) of the
     boxplot.

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

     boxplotlegend(X, Y, el, boxinfo, x.shift = 40000, xf = 10000, y.shift = 0.2,
     y.scale = 130000, legend.title = "Legend", cex.legtit = 1, logscale = TRUE,
     symb = c(1, 1, 16, 3, 3), ssize = c(1.5, 1, 0.3, 1, 1.5), accentuate = FALSE,
     cex.scale = 0.8)

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

       X: X-coordinates 

       Y: Y-coordinates 

      el: variable considered 

 boxinfo: from boxplot(el) or boxplotlog(el)  

 x.shift: shift in x-direction 

      xf: width in x-direction 

 y.shift: shift in y-direction (from title) 

 y.scale: scale in y-direction 

legend.title: title for legend 

cex.legtit: cex of title for legend 

logscale: if TRUE plot boxplot in log-scale 

    symb: symbols to be used (length 5!) 

   ssize: symbol sizes to be used (length 5!) 

accentuate: if FALSE no symbols for the upper values (e.g. upper
          "hinge", upper whisker) are assigned 

cex.scale: cex for text "log-scale" for scale 

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

     Takes the information provided by the argument boxinfo and plots a
     boxplot corresponding to the values. If there are no upper or/and
     lower outliers the symbols for the upper or/and lower whiskers
     will be ignored.

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

     Plots the legend with respect to the boxplot and returns the
     symbols, size and the quantiles used for the legend.

_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.

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

     #internal function, used in SymbLegend

