close_up: Reveal linear relationships between two variables

Description Usage Arguments Value Examples

View source: R/close_up.R

Description

Accepts a dataframe and the number of pairs of variables with strongest correlations. It creates scatterplots with a linear trend for each pair of variables with stronglest correlations.

Usage

1
close_up(df, n = 1)

Arguments

df

The dataframe on which the function will operate

n

The number of pairs of variables with strongest correlations to be displayed, defaults to 1

Value

chart

Examples

1
2
library(palmerpenguins)
close_up(penguins)

UBC-MDS/reasyeda documentation built on Feb. 6, 2022, 7 a.m.