compute_corr | R Documentation |
Computes a tidy correlation
compute_corr(data, var1, var2)
data |
input data set |
var1 |
name of variable 1 (unquoted) |
var2 |
name of variable 2 (unquoted) |
A tibble with the Pearson Correlation and the p-value
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.