Learn R Programming

funModeling (version 1.9.5)

correlation_table: 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)

Value

Correlation index for all data input variable

Arguments

data

data frame

target

string variable to predict

Examples

Run this code
correlation_table(data=heart_disease, target="has_heart_disease")

Run the code above in your browser using DataLab