boxplotperc              package:StatDA              R Documentation

_B_o_x_p_l_o_t _b_a_s_e_d _o_n _p_e_r_c_e_n_t_i_l_e_s

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

     This function plots a boxplot of the data and the boundaries are
     based on percentiles.

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

     boxplotperc(x, ..., quant = c(0.02, 0.98), width = NULL, varwidth = FALSE,
     notch = FALSE, outline = TRUE, names, plot = TRUE, border = par("fg"),
     col = NULL, log = "", pars = list(boxwex = 0.8, staplewex = 0.5, outwex = 0.5),
     horizontal = FALSE, add = FALSE, at = NULL)

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

       x: data 

     ...: further arguments for creating the list

   quant: the underlying percentages 

   width: a vector giving the relative widths of the boxes making up
          the plot 

varwidth: if varwidth is TRUE, the boxes are drawn with widths
          proportional to the square-roots of the number of
          observations in the groups. 

   notch: if notch is TRUE, a notch is drawn in each side of the boxes 

 outline: if outliers is FALSE, the outliers are not drawn 

   names: define the names of the attributes 

    plot: if plot is TRUE the boxplot is plotted in the current plot 

  border: character or numeric (vector) which indicates the color of
          the box borders 

     col: defines the colour 

     log: character, indicating if any axis should be drawn in
          logarithmic scale 

    pars: some graphical parameters can be specified 

horizontal: logical parameter indicating if the boxplots should be
          horizontal; FALSE means vertical boxes 

     add: if TRUE the boxplot is added to the current plot 

      at: numeric vector giving the locations of the boxplots 

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

     The default value for quant is the 2% and 98% quantile and this
     argument defines the percentiles for the upper and lower whiskers.

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

   stats: a vector of length 5, containing the extreme of the lower
          whisker, the lower "hinge", the median, the upper "hinge" and
          the extreme of the upper whisker (backtransformed)

       n: the number of non-NA observations in the sample

    conf: the lower and upper extremes of the "notch"

     out: the values of any data points which lie beyond the extremes
          of the whiskers (backtransformed)

   group: the group

   names: the attributes

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

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

     'boxplotlog'

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

     data(chorizon)
     Ba=chorizon[,"Ba"]
     boxplotperc(Ba,quant=c(0.05,0.95),horizontal=TRUE,xlab="Ba [mg/kg]",cex.lab=1.2,pch=3)

