View source: R/average_correlations.R
average_correlations | R Documentation |
This function will take as input a verctor of correlations and output their mean after being transformed to fisher's Zs and back
average_correlations(correlations, ns, na.rm = T, use_weights = F)
correlations |
The vector of correlations to average |
see https://www.tandfonline.com/doi/pdf/10.1080/00221309809595548?needAccess=true
float: Average of correlations
c(.40, .04, .23, .25, .94, .01) |> average_correlations()
c(.40, .04, .23, .25, .94, .01) |> average_correlations(ns = c(10, 20, 40, 23, 10, 123))
c(.40, .04, .23, .25, .94, .01) |> average_correlations(ns = c(10, 20, 40, 23, 10, 123), use_weights = F)
c(.40, .04, .23, .25, .94, .01) |> average_correlations(ns = c(10, 20, 40, 23, 10, 123), use_weights = T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.