# NOT RUN {
# load diamonds dataset from ggplot2
data("diamonds", package = "ggplot2")
# Plot correlation heatmap with all columns
plot_correlation(diamonds)
# Plot correlation heatmap with discrete features only
plot_correlation(diamonds, type = "d")
# Plot correlation heatmap with continuous features only
plot_correlation(diamonds, type = "c")
# }
Run the code above in your browser using DataLab