Description Usage Arguments Value Examples
Computes a tidy correlation
1 | compute_corr(data, var1, var2)
|
data |
input data set |
var1 |
name of variable 1 |
var2 |
name of variable 2 |
A tibble with the Pearson correlation and the p-value
1 | compute_corr(data = faithful, var1 = eruptions, var2 = waiting)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.