Learn R Programming

funModeling (version 1.6.8)

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)

Arguments

data

data frame

target

string variable to predict

Value

Correlation index for all data input variable

Examples

Run this code
# NOT RUN {
correlation_table(data=heart_disease, target="has_heart_disease")
# }

Run the code above in your browser using DataLab