metaplot                package:rmeta                R Documentation

_M_e_t_a-_a_n_a_l_y_s_i_s _p_l_o_t

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

     Plot confidence intervals with boxes indicating the sample
     size/precision and optionally a diamond indicating a summary
     confidence interval. This function is usually called by `plot'
     methods for meta-analysis objects.

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

     metaplot(mn, se, nn=NULL, labels=NULL, conf.level=0.95, xlab="Odds ratio", ylab="Study Reference",  xlim=NULL, summn=NULL, sumse=NULL, sumnn=NULL, summlabel="Summary", logeffect=FALSE, lwd=2, boxsize=1, zero=if (logeffect) 1 else 0, colors=meta.colors(), ...)

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

      mn: point estimates from studies

      se: standard errors of `mn'

      nn: precision: box ares is proportional to this. `1/se^2' is the
          default

  labels: labels for each interval

conf.level: Confidence level for confidence intervals

    xlab: label for the point estimate axis

    ylab: label for the axis indexing the different studies

   summn: summary estimate

   sumse: standard error of summary estimate

   sumnn: precision of summary estimate

summlabel: label for summary estimate 

logeffect: `TRUE' to display on a log scale 

     lwd: line width

 boxsize: Scale factor for box size

    zero: "Null" effect value

  colors: see `meta.colors'

     ...: Other graphical parameters 

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

     This function is used for its side-effect.

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

     `plot.meta.DSL',`plot.meta.MH',`plot.meta.summaries'

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

         data(catheter)
         a<-meta.MH(n.trt,n.ctrl,col.trt,col.ctrl,data=catheter,names=Name,subset=c(13,6,5,3,7,12,4,11,1,8,10,2))
         metaplot(a$logOR,a$selogOR,nn=a$selogOR^-2,a$names,summn=a$logMH,sumse=a$selogMH,sumnn=a$selogMH^-2,logeffect=TRUE)
         ## angry fruit salad
       metaplot(a$logOR,a$selogOR,nn=a$selogOR^-2,a$names,summn=a$logMH,sumse=a$selogMH,sumnn=a$selogMH^-2,logeffect=TRUE,colors=meta.colors(box="magenta",lines="blue",zero="red",summary="orange",text="forestgreen"))

