Description Usage Arguments Details Value Author(s) See Also Examples
Test for Pearson correlation between paired samples across many variables.
1 2 3 |
X |
numeric matrix or vector of data values. |
Y |
numeric matrix or vector of data values.
If matrices, |
alternative |
specifies the alternative hypothesis. |
conf.level |
confidence level for the returned confidence interval. |
null |
The null to test against. Either a single number of or a matrix
of size |
The test and confidence interval is based Fisher's Z transform.
If matrices are given a list of matrices are returned where the ijth
entry corresponds to the results of stats::cor.test(X[,i], Y[,j])
.
If vectors are given a vector of the results is given.
Anders Ellern Bilgrau <anders.ellern.bilgrau (at) gmail.com>
1 2 3 4 | X <- createData(10, 2)
Y <- createData(10, 4)
test.xcor(X, Y)
test.xcor(X[,1], Y[,1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.