Wrap cor.test (test of liner correlation).
# S3 method for data.frame wrapCorTest( x, Column1Name, Column2Name, ..., alternative = c("two.sided", "less", "greater"), method = c("pearson", "kendall", "spearman"), exact = NULL, conf.level = 0.95, continuity = FALSE, na.rm = FALSE )
x | data.frame |
---|---|
Column1Name | character column 1 name |
Column2Name | character column 2 name |
... | extra arguments passed to cor.test |
alternative | passed to |
method | passed to |
exact | passed to |
conf.level | passed to |
continuity | passed to |
na.rm | logical, if TRUE remove NA values |
wrapped stat
#> [1] "Pearson's product-moment correlation: (r=0.9767, p=3.094e-05)."