cenboxplot               package:NADA               R Documentation

_P_r_o_d_u_c_e_s _a _c_e_n_s_o_r_e_d _b_o_x_p_l_o_t

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

     Draws a boxplot with the highest censoring threshold  shown as a
     horizontal line.  Any statistics below this line are invalid are
     must be estimated using methods for censored data.

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

         cenboxplot(obs, cen, group, log=TRUE, range=0, ...)

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

     obs: A numeric vector of observations. 

     cen: A  logical vector indicating TRUE where an observation in x
          is censored (a less-than value) and FALSE otherwise.   

   group: A factor vector used for grouping `obs' into subsets (each
          group will be a separate box). 

     log: A TRUE/FALSE indicating if the y axis should be in log units.
          Default it TRUE. 

   range: This determines how far the plot whiskers extend out from the
          box. If 'range' is positive, the whiskers extend to the most
          extreme data point which is no more than 'range' times the
          interquartile range from the box. The default is zero which
          causes the whiskers to extend to  the min and max data
          values. 

     ...: Additional items that get passed to 'boxplot'. 

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

     Returns the output of the default 'boxplot' method.

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

     Lopaka(Rob) Lee <rclee@usgs.gov>

     Dennis Helsel <dhelsel@usgs.gov>

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

     Helsel, Dennis R. (2005).  Nondectects and Data Analysis;
     Statistics for censored environmental data.  John Wiley and Sons,
     USA, NJ.

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

         data(Golden)
         with(Golden, cenboxplot(Blood, BloodCen, DosageGroup))

