Description Usage Arguments Value Examples
A wrapper for cor.test that returns data in a data.frame rather than a cumbersome list
1 |
var1 |
a vector to correlate with var2 |
var2 |
a vector to correlate with var1 |
method |
the correlation method to use, either pearson, spearman, or kendall |
round |
logical, whether or not to round the results |
Returns a data.frame version of the standard htest output. Use intended for presentation of data because numbers are converted to character and then back to numeric, trimming each values length and costing you precision.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.