Re: [R] forest plot -metafor package

2021-03-22 Thread Viechtbauer, Wolfgang (SP)
Dear Usmle Ck, This is what the 'slab' argument is for (for adding 'study labels'). For an example, see: https://www.metafor-project.org/doku.php/plots:forest_plot Best, Wolfgang >-Original Message- >From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Usmle Ck >Sent: Monday

Re: [R] forest plot metafor

2015-12-11 Thread Michael Dewey
See below On 09/12/2015 18:48, Mario Petretta wrote: Dear all, I use metafor package to generate a forest plot showing the weight of each study in the plot. I use the code: library(metafor) data(dat.bcg) res <- rma(ai=tpos, bi=tneg, ci=cpos, di=cneg, data=dat.bcg, measure="RR",

Re: [R] Forest plot not dispalying

2013-08-05 Thread Sarah Goslee
Hi, I don't see any answers to this, so let me offer a few suggestions. Do you call dev.off() at the end of your plotting code? That seems most likely, since you omit it here. If that doesn't solve your problem: What OS and version of R are you using? If you use the default device for your OS d

Re: [R] Forest plot with sub group analyses

2013-08-02 Thread John Kane
No attachments came through. Either include the code and the data in the email---see ?dupt for a way to include the data or include the files as .txt files. John Kane Kingston ON Canada > -Original Message- > From: wngich...@gmail.com > Sent: Fri, 2 Aug 2013 10:45:33 +0200 > To: r-hel

Re: [R] Forest plot with sub-group analyses

2013-08-02 Thread David Winsemius
On Aug 2, 2013, at 5:20 AM, Michael Dewey wrote: > At 18:19 01/08/2013, wanjiku gichohi wrote: >> Greetings. >> >> I am conducting a meta analyses that has Beta and SE values. >> >> I am wondering how to place the command to split the analyses. Could you >> assist me to develop the command with

Re: [R] Forest plot with sub-group analyses

2013-08-02 Thread Michael Dewey
At 18:19 01/08/2013, wanjiku gichohi wrote: Greetings. I am conducting a meta analyses that has Beta and SE values. I am wondering how to place the command to split the analyses. Could you assist me to develop the command within the syntax? I would also like to add the N and Year values in the

Re: [R] Forest plot

2012-12-04 Thread Michael Dewey
At 20:39 03/12/2012, Min Dong wrote: Hi, I am a novice in R. It will be greatly appreciated if someone can advise me with the following questions. There are at least three packages available from CRAN (meta, metafor, rmeta) which draw forest plots so it would help us if you had told us which

Re: [R] forest plot

2010-08-24 Thread Adaikalavan Ramasamy
You can also do meta.summaries() - from rmeta package - followed by a plot() on the resulting object. Or for a much more flexible plot try forestplot() function, also from rmeta package, but this requires a bit of work to set it up. Regards, Adai On 24/08/2010 05:50, C.H. wrote: The correc

Re: [R] forest plot

2010-08-23 Thread C.H.
The correct command for forest plot should be "plot" (instead of "forest") if you are using metagen from meta package. For help: ?plot.meta On Tue, Aug 24, 2010 at 11:03 AM, zhangweiwei wrote: > > Dear Sir or Madam, > > > > I am trying to plot forest plot. I extracted odds ratio and their > co

Re: [R] Forest Plot X-axis cut-off problem

2010-02-24 Thread David Winsemius
On Feb 24, 2010, at 10:44 AM, Scott Weichenthal wrote: Hello R-Help, I am trying to produce a forest plot but the x-axis is being cut off at 2 for some reason. I have attached the file. How can I avoid this? You may have attached the file, but the mail-server then scrubbed it. Only cert

Re: [R] Forest Plot

2009-12-08 Thread Xin Ge
[mailto:xingemaill...@gmail.com] > Sent: Sunday, December 06, 2009 00:40 > To: Viechtbauer Wolfgang (STAT) > Cc: r-help@r-project.org > Subject: Re: [R] Forest Plot > > > Thanks for your reply. Which function I should explore in "metafor" > > package for this ki

Re: [R] Forest Plot

2009-12-07 Thread Viechtbauer Wolfgang (STAT)
Debyeplein 1 (Randwyck) Original Message From: Xin Ge [mailto:xingemaill...@gmail.com] Sent: Sunday, December 06, 2009 00:40 To: Viechtbauer Wolfgang (STAT) Cc: r-help@r-project.org Subject: Re: [R] Forest Plot > Thanks for your reply. Which function I should explore in "metafor"

Re: [R] Forest Plot

2009-12-05 Thread Xin Ge
Thanks for your reply. Which function I should explore in "metafor" package for this kind of plot. Also I have to do a forest plot for "regressions estimates" (betas) and corresponding "sqrt(var)". I hope in this case there is no difference between std. error and std. deviation? So, a 95% confiden

Re: [R] Forest Plot

2009-12-05 Thread Viechtbauer Wolfgang (STAT)
The figure that you linked to was produced with the "metafor" package. It can also be used to produce a forest plot if you have means and corresponding standard errors of the means. The standard error of a mean is equal to SD / sqrt(n), so as long as you also know the sample sizes (n), you can c