On another site, I encountered the following statement:

Quote:

Average chance of cuckoldry is often stated to be around 2% per generation.

At the rate of 2% in 25 generations it would be 1-(1-0.02)25 or 40% (39.65%). So if you have a male ancestor in your family tree who lived some 25 generations ago (= around 600 years ago), then you have only 60% chance that he is really your biological ancestor.

I am calculating effect sizes for a forest plot. The RCTs I am using each have several outcome measures (e.g. PARS, SRS, ADIS, MASC, RCADS) thus providing several means and standard deviations. I am unsure whether the appropriate practice is to [1] create a mean comprised of the average of all the outcome measures (for example the five listed above) for both the control and experimental groups or [2] whether I should select one outcome measures mean and use that to calculate my effect size.

Thank you in advance,

Reda ]]>

I am new at R hence this basic question. I have imported a simple excel csv file using the read.csv method and have converted it to a data.frame. See below numbers

123

789

My question is what its the code that calculates the mean of each column and then attached these means to the bottom of the data frame. The output would look like

123

789

456

I want to use rbind(), but I cant get the mean of each column to work. Any suggestions?

Thx ]]>