corr {mbir}R Documentation

Correlation Coefficient

Description

Provides magnitude-based inferences upon given r value and sample size. Based upon WG Hopkins Microsoft Excel spreadsheet.

Usage

corr(r, n, conf.int = 0.9, swc = 0.1, plot = FALSE)

Arguments

r

correlation coefficient

n

sample size

conf.int

(optional) confidence level of the interval. Defaults to 0.90

swc

(optional) number indicating smallest worthwhile change. Defaults to 0.1

plot

(optional) logical indicator specifying to print associated plot. Defaults to FALSE

Details

Refer to vignette for further information.

References

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

Examples

corr(.40, 25, 0.95)

[Package mbir version 1.3.5 Index]