Description Usage Arguments Examples
View source: R/data_visualization.R
cor_plot
is for ploting correlation matrix
1 2 3 4 5 6 7 8 |
dat |
A data.frame with independent variables and target variable. |
dir_path |
The path for periodically saved graphic files. Default is "./model/LR" |
x_list |
Names of independent variables. |
gtitle |
The title of the graph & The name for periodically saved graphic file. Default is "_correlation_of_variables". |
save_data |
Logical, save results in locally specified folder. Default is TRUE |
plot_show |
Logical, show graph in current graphic device. |
1 2 3 4 5 | train_test = train_test_split(UCICreditCard,
split_type = "Random", prop = 0.8,save_data = FALSE)
dat_train = train_test$train
dat_test = train_test$test
cor_plot(dat_train[,8:12],plot_show = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.