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")

funModeling documentation built on May 29, 2024, 3:24 a.m.