Description Usage Arguments Value Examples
Computes a tidy correlation
1 | compute_corr(data, var1, var2)
|
data |
input dataset |
var1 |
name of variable 1 (unquoted) |
var2 |
name of variable 2 (unquoted) |
a tibble with Pearson correlation and 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.