corr {mbir} | R Documentation |
Provides magnitude-based inferences upon given r value and sample size. Based upon WG Hopkins Microsoft Excel spreadsheet.
corr(r, n, conf.int = 0.9, swc = 0.1, plot = FALSE)
r |
correlation coefficient |
n |
sample size |
conf.int |
(optional) confidence level of the interval. Defaults to |
swc |
(optional) number indicating smallest worthwhile change. Defaults to |
plot |
(optional) logical indicator specifying to print associated plot. Defaults to |
Refer to vignette for further information.
Hopkins WG. (2007). A spreadsheet for deriving a confidence interval, mechanistic inference and clinical inference from a p value. Sportscience 11, 16-20. sportsci.org/2007/wghinf.htm
corr(.40, 25, 0.95)