userfriendlyscience (version 0.7.1)

averagePearsonRs: averagePearsonRs

Description

Takes pairs of Pearson r's (correlation coefficients) and the accompanying n's (sample sizes) and returns their average.

Usage

averagePearsonRs(rs, ns, FishersZ = TRUE)

Arguments

rs

The correlation coefficients.

ns

The sample sizes.

FishersZ

Whether to compute the average through Fisher's z (only method implemented as of the writing of this document).

See Also

averageFishersZs, convert.r.to.fisherz

Examples

Run this code
# NOT RUN {
averagePearsonRs(c(.3, .4, .6), c(70, 80, 50));
# }

Run the code above in your browser using DataCamp Workspace