# NOT RUN {
# Load diamonds dataset from ggplot2
data("diamonds", package = "ggplot2")
# Plot correlation heatmap
plot_correlation(diamonds)
plot_correlation(diamonds, maxcat = 5)
plot_correlation(diamonds, type = "c")
plot_correlation(diamonds, type = "d")
# }
Run the code above in your browser using DataLab