Learn R Programming

funModeling (version 1.6.6)

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, str_target)

Arguments

data

data frame

str_target

string variable to predict

Value

Correlation index for all data input variable

Examples

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

Run the code above in your browser using DataLab