[R] rmeta Package

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sat May 20 12:12:47 CEST 2000


Ko-Kang Wang <Ko-Kang at xtra.co.nz> writes:

> I want to draw a meta plot with Mantel-Haenszel  analysis (meta.MH) in
> the "rmeta" package.
> 
> Is it possible to change the confidence interval?  The default is 95%,
> but what if I want, say 99% or 90% confidence interval?  I can't seem to
> find how to do this in the manual.
> 
> Thanks.

There are multiple hardcoded "1.96"s in the code for metaplot() and
summary.meta.MH(). 

You'd have to replace those with -qnorm((1-conf.level)/2) (== 2.576
and 1.645 for 99% resp. 90%) either manually changing the value or -
better - by adding a parameter to the routines (and contributing your
fixes back to the maintainer).

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list