Description Usage Arguments Examples
View source: R/data_visualization.R
cor_heat_plot
is for ploting correlation matrix
1 2 3 4 5 6 | cor_heat_plot(
cor_mat,
low_color = love_color("deep_red"),
high_color = love_color("light_cyan"),
title = "Correlation Matrix"
)
|
cor_mat |
A correlation matrix. |
low_color |
color of the lowest correlation between variables. |
high_color |
color of the highest correlation between variables. |
title |
title of plot. |
1 2 3 4 5 6 | 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_mat = cor(dat_train[,8:12],use = "complete.obs")
cor_heat_plot(cor_mat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.