Description Usage Arguments Value
Perform a simple bivaraite correlation
1 2 | corr_report(var1, var2, data, method = "pearson",
use = "pairwise.complete.obs")
|
var1 |
a string indicating the 1st variable you want to correlate |
var2 |
a string indicating the 2nd variable you want to correlate |
data |
a |
method |
a string, the same as the method argument that is normally passed to |
use |
a string, the same 'use' arguemnt normally passed to |
this fucntion returns a list containing the following values:
variables that were correlated
numeric value representing the correlation coefficient
sample size
string that provides the correlation coefficient and sample size
the method used to compute the correlation coefficient
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.