[R-meta] "Favours experimental/vaccinated", "Favours control" - Metafor
Viechtbauer, Wolfgang (NP)
wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|
Thu Nov 2 09:54:32 CET 2023
Dear Andrzej,
Please always respond to the mailing list, not just the person who you are replying to.
You can use:
summary(dat2, transf=exp)
See the documentation:
https://wviechtb.github.io/metafor/reference/print.escalc.html
Best,
Wolfgang
> -----Original Message-----
> From: Andrzej Andrzej <xaf3111.developers using gmail.com>
> Sent: Thursday, November 2, 2023 09:25
> To: Viechtbauer, Wolfgang (NP) <wolfgang.viechtbauer using maastrichtuniversity.nl>
> Subject: Re: [R-meta] "Favours experimental/vaccinated", "Favours control" -
> Metafor
>
> That's true, thank you,
> I want to have RR as well ( all in one dataframe). When I do this:
> dat2 <- escalc(measure = "RR", ai = tpos, bi = tneg, ci = cpos, di = cneg, data
> = dat.bcg, append = TRUE) %>% mutate(RR = exp(.$yi))
>
> It gives me Relative Risk and then when I do: summary(dat2) indeed I have got
> CIs for log(RR) but there are no CIs for RR.
> Do I have to calculate them manually ? Or is it a way to extract them from
> forest plot object somehow ?
> best,
> Andrzej
>
> czw., 2 lis 2023 o 08:53 Viechtbauer, Wolfgang (NP)
> <mailto:wolfgang.viechtbauer using maastrichtuniversity.nl> napisał(a):
> If you use summary() on an 'escalc' object, you get the CIs.
>
> Best,
> Wolfgang
>
> > -----Original Message-----
> > From: Andrzej Andrzej <mailto:xaf3111.developers using gmail.com>
> > Sent: Wednesday, November 1, 2023 19:39
> > To: Michael Dewey <mailto:lists using dewey.myzen.co.uk>
> > Cc: R Special Interest Group for Meta-Analysis <r-sig-meta-analysis using r-
> > http://project.org>; Viechtbauer, Wolfgang (NP)
> > <mailto:wolfgang.viechtbauer using maastrichtuniversity.nl>
> > Subject: Re: [R-meta] "Favours experimental/vaccinated", "Favours control" -
> > Metafor
> >
> > Hi,
> > Is there a way using escalc function to get CI for log RR as well, apart from
> > log RR itself ?
> > I would like to get RR with CI too. Is it a way to do it and append it all to
> > bcg data ?
> > bets,
> > Andrzej
More information about the R-sig-meta-analysis
mailing list