Skip to content
Prev 362165 / 398502 Next

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.