Description Usage Arguments Value Author(s)
Compute correlation tests between two matrices using multiple
methods and return a nested list. The length of the first level list equals
to the numebr of methods input. Each member of the first level list is a
output of the MatCor
function. The methods supported are
pearson, spearman, kendall, and lm.
1 2 | MatCorPack(X, Y, methods = c("pearson", "spearman", "kendall", "lm"),
adjust.method = "BH", design)
|
X |
numaric matrix of data values. |
Y |
numeric matrix of data values. Must have same number of columns as X. |
adjust.method |
character value indicating the method to use for
p value adjustement. See |
design |
a design matrix must if "lm" is in the methods. The
design matrix can be built using the |
method |
character value indicating the method to use. Must be one of "pearson", "spearman", "kendall", or "lm". |
A nested list, with the methods being the first level, X variables being the second, and Y variables the bottom level.
Chenghao Zhu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.