Description Usage Arguments Value
La justificació d'haver fet aquesta funció: 1) la funció cor {stats} no retorna els p-values; 2) la funció cor.test {stats} no permet passar un conjunt de dades. Aquesta extensió permet obtenir el valor p de les correlacions calculades a partir d'un conjunt de dades.
1 |
x |
numeric vector of data values. x and y must have the same length. |
y |
numeric vector of data values. x and y must have the same length. |
method |
a character string indicating which correlation coefficient is to be used for the test. Currently only works for "spearman". |
conf.level |
confidence level of the interval. |
... |
further arguments to be passed to or from methods. |
A list with the correlation, lower and upper bounds of the confidence interval, p-value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.