boxplot2D              package:aplpack              R Documentation

_B_o_x_p_l_o_t _o_f _p_r_o_j_e_c_t_i_o_n _o_f _t_w_o _d_i_m_e_n_s_i_o_n_a_l _d_a_t_a

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

     boxplot2D computes summary statistics of a one dimensional 
     projection of a two dimensional data set and plots a sloped
     boxplot of the statistics into the scatterplot of the two 
     dimensional data set.

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

         boxplot2D(xy, add.to.plot = TRUE, box.size = 10, box.shift = 0, 
         angle = 0, angle.type = "0", tukey.style = TRUE, coef.out = 1.5, 
         coef.h.out = 3, design = "sl", na.rm=FALSE, ...)

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

      xy: '(nx2)'-matrix, two dimensional data set  

add.to.plot: if 'TRUE' the boxplot is added to the actual plot of the
          graphics device 

box.size: height of the box (of the boxplot) 

box.shift: shift of boxplot perpendicular to the  projection direction 

   angle: direction of projection in units defined by  angle.type 

angle.type: '"0"': angle in (0,2*pi), '"1"': clock-like:
          angle.typ.0==2*pi*angle.typ.1/12,   '"2"': degrees:
          angle.typ.0==2*pi*angle.typ.2/360,  '"3"': by fraction:
          delta.y/delta.x 

tukey.style: if 'TRUE' outliers are defined as described  in Tukey
          (1977) 

coef.out: outliers are values that are more than 'coef.out*boxwidth'
          away from the box, default:  'coef.out=1.5'  

coef.h.out: heavy outliers are values that are more than
          'coef.h.out*boxwidth' away from the box, default:
          'coef.h.out=3'   

  design: if 'sl' then parallelogram else box  

   na.rm: if TRUE 'NA' values are removed otherwise exchanged by mean

     ...: additional graphical parameters 

_N_o_t_e:

     version 08/2003

_A_u_t_h_o_r(_s):

     Peter Wolf

_R_e_f_e_r_e_n_c_e_s:

     Tukey, J. _Exploratory Data Analysis._ Addison-Wesley, 1977.

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

     'boxplot'

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

      xy<-cbind(1:100, (1:100)+rnorm(100,,5))
      plot(xy,xlim=c(-50,150),ylim=c(-50,150))
      boxplot2D(xy,box.shift=-30,angle=3,angle.typ=1)
      boxplot2D(xy,box.shift=20,angle=1,angle.typ=1)
      boxplot2D(xy,box.shift=50,angle=5,angle.typ=1)

