Dear sir or madam I want to know how to use "metafor"package do a meta anlysis, forest plot show the results of whole study and results of two subgroups like this the forest plot show in the attachment. looking forword to your reply Regards and Cheers Xudong Liu School of Public Health and Primary Care The Chinese University of Hong Kong Email: liuxudong at cuhk.edu.hk> Subject: Welcome to the "R-help" mailing list (Digest mode) > From: r-help-request at r-project.org > To: idliuxudong at hotmail.com > Date: Mon, 31 Dec 2012 10:08:53 +0100 > > Welcome to the R-help at r-project.org mailing list! > > To post to this list, send your message to: > > r-help at r-project.org > > General information about the mailing list is at: > > https://stat.ethz.ch/mailman/listinfo/r-help > > If you ever want to unsubscribe or change your options (eg, switch to > or from digest mode, change your password, etc.), visit your > subscription page at: > > https://stat.ethz.ch/mailman/options/r-help/idliuxudong%40hotmail.com > > > You can also make such adjustments via email by sending a message to: > > R-help-request at r-project.org > > with the word `help' in the subject or body (don't include the > quotes), and you will get back a message with instructions. > > You must know your password to change your options (including changing > the password, itself) or to unsubscribe without confirmation. It is: > > lxd646253 > > Normally, Mailman will remind you of your r-project.org mailing list > passwords once every month, although you can disable this if you > prefer. This reminder will also include instructions on how to > unsubscribe or change your account options. There is also a button on > your options page that will email your current password to you.
The attachement did not come through and we need some idea of what you are doing. Please see https://github.com/hadley/devtools/wiki/Reproducibility for some ideas of what we need. And please read the posting guide John Kane Kingston ON Canada> -----Original Message----- > From: idliuxudong at hotmail.com > Sent: Mon, 31 Dec 2012 17:21:23 +0800 > To: r-help at r-project.org > Subject: [R] a problem for metafor package > > > Dear sir or madam > > I want to know how to use "metafor"package do a meta anlysis, forest > plot show the results of whole study and results of two subgroups > like this the forest plot show in the attachment. > > looking forword to your reply > > > > Regards and Cheers > > Xudong Liu > > > School of Public Health and Primary Care > The Chinese University of Hong Kong > Email: liuxudong at cuhk.edu.hk > > > > >> Subject: Welcome to the "R-help" mailing list (Digest mode) >> From: r-help-request at r-project.org >> To: idliuxudong at hotmail.com >> Date: Mon, 31 Dec 2012 10:08:53 +0100 >> >> Welcome to the R-help at r-project.org mailing list! >> >> To post to this list, send your message to: >> >> r-help at r-project.org >> >> General information about the mailing list is at: >> >> https://stat.ethz.ch/mailman/listinfo/r-help >> >> If you ever want to unsubscribe or change your options (eg, switch to >> or from digest mode, change your password, etc.), visit your >> subscription page at: >> >> https://stat.ethz.ch/mailman/options/r-help/idliuxudong%40hotmail.com >> >> >> You can also make such adjustments via email by sending a message to: >> >> R-help-request at r-project.org >> >> with the word `help' in the subject or body (don't include the >> quotes), and you will get back a message with instructions. >> >> You must know your password to change your options (including changing >> the password, itself) or to unsubscribe without confirmation. It is: >> >> lxd646253 >> >> Normally, Mailman will remind you of your r-project.org mailing list >> passwords once every month, although you can disable this if you >> prefer. This reminder will also include instructions on how to >> unsubscribe or change your account options. There is also a button on >> your options page that will email your current password to you. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Dear Xudong, First of all, most attachments are stripped on r-help -- yours didn't make it through either. Since you sent a separate e-mail to me personally (including the attachment), I can see what you want to accomplish, but let's keep this on the list. Second, your mail to r-help contained the "welcome" message you received when you signed up for the mailing list. That message also contained your password (I removed that part from your message below). Maybe not such a wise thing to do. Now, regarding your question. You could just include the information from the whole study and the two subgroups in the dataset and then use the forest() function. However, for computing the overall estimate (in case you also want to include this in the forest plot), you need to decide how that should be done. Do you want to just count the results from whole study or just the two subsets? (using the information from the whole study and the two subsets would be double-counting and not appropriate). In either case, you could then pass the respective data to rma(), compute the overall estimate, and add it to the forest plot using the addpoly() function. I suggest carefully studying: ?forest.default ?addpoly.default and especially the examples. If you then get stuck, please provide minimal and self-contained code that can be used as a starting point for a more specific response. Best, Wolfgang -- Wolfgang Viechtbauer, Ph.D., Statistician Department of Psychiatry and Psychology School for Mental Health and Neuroscience Faculty of Health, Medicine, and Life Sciences Maastricht University, P.O. Box 616 (VIJV1) 6200 MD Maastricht, The Netherlands +31 (43) 388-4170 | http://www.wvbauer.com> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] > On Behalf Of LiuXudong > Sent: Monday, December 31, 2012 10:21 > To: r-help at r-project.org > Subject: [R] a problem for metafor package > > Dear sir or madam > > I want to know how to use "metafor"package do a meta anlysis, forest > plot show the results of whole study and results of two subgroups > like this the forest plot show in the attachment. > > looking forword to your reply > > Regards and Cheers > > Xudong Liu > > School of Public Health and Primary Care > The Chinese University of Hong Kong > Email: liuxudong at cuhk.edu.hk
Possibly Parallel Threads
- tweaking forest plot (metafor package)
- Using Metafor package: how to backtransform model coefficients when Freeman Tukey double arcine transformation is used
- metafor
- metafor - interpretion of QM in mixed-effects model with factor moderator
- methods package not loaded by default when using Rscript in R2.13