View source: R/gg_lm_with_cor.R
1 | gg_lm_with_cor(df, x, y, corThreshold = 0.4, corMethod = "pearson", ...)
|
df |
dataframe |
x |
x variable |
y |
y variable |
corThreshold |
correlation threshold, Default: 0.4 |
corMethod |
correlation method, Default: 'pearson' |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.