Description Usage Arguments Value
scatter plot with linear regression and correlation threshold to be used with ggally
1 2 3 | ally_scatter_lm_cor(data, mapping, cor_method = "pearson",
cor_use = "pairwise.complete.obs", cor_threshold = 0.4,
cor_color = "red", ...)
|
data |
data frame |
mapping |
aes passed to ggplot |
cor_method |
method for correlation estimation, Default: 'pearson' |
cor_use |
argument to cor, Default: 'pairwise.complete.obs' |
cor_threshold |
threshold for color switch, Default: 0.4 |
cor_color |
colour for used at color switch, Default: 'red' |
... |
PARAM_DESCRIPTION |
ggplot object (passed to ggally)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.