| corr_test {mbir} | R Documentation | 
Correlation Coefficient Test
Description
Provides magnitude-based inferences for the association between given data vectors. Evaluates normality assumption, performs either Pearson or Spearman correlation and subsequently estimates magnitude-based inferences.
Usage
corr_test(x, y, conf.int = 0.9, auto = TRUE, method = "pearson",
  swc = 0.1, plot = FALSE)
Arguments
| x,y | numeric vectors of data values | 
| conf.int | (optional) confidence level of the interval. Defaults to  | 
| auto | (character) logical indicator specifying if user wants function to programmatically detect statistical procedures. Defaults to  | 
| method | (character) if  | 
| swc | (optional) number indicating smallest worthwhile change. Defaults to  | 
| plot | (optional) logical indicator specifying to print associated plot. Defaults to  | 
Details
Refer to vignette for further information.
Value
Associated effect size measure, r, and respective confidence intervals.
Examples
a <- rnorm(25, 80, 35)
b <- rnorm(25, 100, 35)
corr_test(a, b, 0.95)