plotCI                 package:MCPAN                 R Documentation

_P_l_o_t _c_o_n_f_i_d_e_n_c_e _i_n_t_e_r_v_a_l_s

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

     A function for convenient plotting of confidence intervals.

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

     ## Default S3 method:
     plotCI(x, ...)
     ## S3 method for class 'sci':
     plotCI(x, ...)
     ## S3 method for class 'sci.ratio':
     plotCI(x, ...)
     ## S3 method for class 'confint.glht':
     plotCI(x, ...)

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

       x: An object of class "sci", "sci.ratio" or "conf.int.glht" or a
          list with elements 'estimate', containing a numeric
          vector,'conf.int', containing a matrix with two columns,
          giving the lower and upper bounds, and a string
          'alternative', one of "two.sided", "less", "greater"  

     ...: additional arguments to be passed to plotCII and plot, see
          plotCII for details

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

     Plots the estimates, upper and lower limits using 'points' and
     'segments'. The names of 'estimate' are passed as labels of the
     confidence intervals. If infinite bounds occur, the plot region is
     limited by the most extreme non infinite bound or estimate.

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

     A plot.

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

     Internally, the function plotCII is used.

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

     x=c(8,9,9,18,39,44)
     n=c(2000,2000,2000,2000,2000,2000)

     x<-binomORci(x=x, n=n, names=c("0","120","240","480","600","720"))

     plotCI(x, lines=1)

