Learn R Programming

funModeling (version 1.0)

cross_plot: Cross-plotting input variable vs. target variable

Description

The cross_plot shows how the input variable is correlated with the target variable, getting the likelihood rates for each input's bin/bucket .

Usage

cross_plot(data, str_input, str_target, path_out, auto_binning)

Arguments

Value

cross plot

Examples

Run this code
## Example 1:
cross_plot(data=heart_disease, str_input="chest_pain", str_target="has_heart_disease")

## Example 2:
cross_plot(data=heart_disease, str_input="age", str_target="has_heart_disease")

Run the code above in your browser using DataLab