ally_scatter_lm_cor: linear regression with correlation threshold for ggally

Description Usage Arguments Value

View source: R/ggally.R

Description

scatter plot with linear regression and correlation threshold to be used with ggally

Usage

1
2
3
ally_scatter_lm_cor(data, mapping, cor_method = "pearson",
  cor_use = "pairwise.complete.obs", cor_threshold = 0.4,
  cor_color = "red", ...)

Arguments

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

Value

ggplot object (passed to ggally)


AstraZeneca/pmxplore documentation built on May 28, 2019, 11:04 a.m.