Stata's documentation lists this as a meta-analysis tool. You may want to look at the rma function in the metafor package for various approaches to that problem.
S Ellison > -----Original Message----- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Carlos R. > Moreira Maia > Sent: 30 June 2016 16:03 > To: r-help@r-project.org > Subject: [R] Command to combine means? > > Dear all, > I'm newbie with R (changing from STATA), and I can't find some commands. > One of those is the "combine", which I use to combine means like this: > > -------------------------------------------- > n1 m1 sd1 n2 m2 sd2 > > combine 12 3 1 34 45 4 > > Combine has calculated the following values: > combined n = 46 > combined mean = 34.043478 > combined SD = 18.964829 > -------------------------------------------- > > Does anybody knows a simmilar command in R to combine means? > > Thanks in advance. > > Carlos. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. ******************************************************************* This email and any attachments are confidential. Any use...{{dropped:8}} ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.