correlation_table: Get correlation against target variable

View source: R/exploratory_data_analysis.R

correlation_tableR Documentation

Get correlation against target variable

Description

Obtain correlation table for all variables against target variable. Only numeric variables are analyzed (factor/character are skippted automatically).

Usage

correlation_table(data, target)

Arguments

data

data frame

target

string variable to predict

Value

Correlation index for all data input variable

Examples

correlation_table(data=heart_disease, target="has_heart_disease")

pablo14/funModeling documentation built on July 30, 2023, 10:59 a.m.