plot_correlation_funnel: Plot a Correlation Funnel

Description Usage Arguments Value See Also Examples

View source: R/plot_correlation_funnel.R

Description

plot_correlation_funnel returns a correlation funnel visualization in either static (ggplot2) or interactive (plotly) formats.

Usage

1
2
3
4
5
6
plot_correlation_funnel(
  data,
  interactive = FALSE,
  limits = c(-1, 1),
  alpha = 1
)

Arguments

data

A tibble or data.frame

interactive

Returns either a static (ggplot2) visualization or an interactive (plotly) visualization

limits

Sets the X-Axis limits for the correlation space

alpha

Sets the transparency of the points on the plot.

Value

A static ggplot2 plot or an interactive plotly plot

See Also

binarize(), correlate()

Examples

1
2
3
4
5
6
7
8
library(dplyr)
library(correlationfunnel)

marketing_campaign_tbl %>%
    select(-ID) %>%
    binarize() %>%
    correlate(TERM_DEPOSIT__yes) %>%
    plot_correlation_funnel()

correlationfunnel documentation built on July 1, 2020, 10:28 p.m.