Description Usage Arguments Value Examples
View source: R/exploratory_data_analysis.R
Obtain correlation table for all variables against target variable. Only numeric variables are analyzed (factor/character are skippted automatically).
1 | correlation_table(data, target)
|
data |
data frame |
target |
string variable to predict |
Correlation index for all data input variable
1 | correlation_table(data=heart_disease, target="has_heart_disease")
|
Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2
Attaching package: 'Hmisc'
The following objects are masked from 'package:base':
format.pval, units
funModeling v.1.7 :)
Examples and tutorials at livebook.datascienceheroes.com
Variable has_heart_disease
1 has_heart_disease 1.00
2 heart_disease_severity 0.83
3 num_vessels_flour 0.46
4 oldpeak 0.42
5 slope 0.34
6 age 0.23
7 resting_blood_pressure 0.15
8 serum_cholestoral 0.08
9 max_heart_rate -0.42
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.