cor_graphic: Correlation Plots

Description Usage Arguments Examples

View source: R/assumption_checking.R

Description

cor_graphic uses the "corrplot" package to create a nice graphic with a color-coded correlation matrix and correlation plot side-by-side. Note that if plot dimensions are too short or too small, there will be overlapping.

Usage

1
cor_graphic(data, show_key = FALSE, title = TRUE)

Arguments

data

A numeric vector, matrix or data frame to be used as input to cor

show_key

If TRUE, will show a color key.

title

If FALSE, will hide titles.

Examples

1
cor_graphic(bodyfat)

mtnbikerjoshua/jcreg documentation built on April 18, 2021, 10:01 p.m.